[asterisk-bugs] [Asterisk 0015484]: [branch] RTMP support in Asterisk

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jul 15 06:29:14 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15484 
====================================================================== 
Reported By:                phsultan
Assigned To:                phsultan
====================================================================== 
Project:                    Asterisk
Issue ID:                   15484
Category:                   Channels/NewFeature
Reproducibility:            N/A
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-07-10 07:30 CDT
Last Modified:              2009-07-15 06:29 CDT
====================================================================== 
Summary:                    [branch] RTMP support in Asterisk
Description: 
I created a new branch that implements Adobe's RTMP (Real Time Media
Protocol).

It allows Asterisk to connect as a client to an RTMP media server like
Red5 or FMS (Flash Media Server), and then publish or receive media streams
from such server. I only tested the connection with Red5.

To install the branch, you'll need several things :
- autoconf, in version 2.60 or higher
- automake, in version 1.9 or higher
- libavcodec, included in FFMPEG version 0.5. Be careful to configure
FFMPEG's sources with the --enable-shared option activated in the configure
script.

Installation procedure :
# svn co http://svn.digium.com/svn/asterisk/team/phsultan/rtmp-support
asterisk-rtmp
# cd asterisk-rtmp
# ./boostrap.sh
[this will generate a new configure script]
# ./configure
# make menuselect
[check here that chan_rtmp is eligible for installation]
# make
# make install
====================================================================== 

---------------------------------------------------------------------- 
 (0107775) dlogan (reporter) - 2009-07-15 06:29
 https://issues.asterisk.org/view.php?id=15484#c107775 
---------------------------------------------------------------------- 
warnings from asterisk compile time

   [CC] chan_rtmp.c -> chan_rtmp.o
chan_rtmp.c:301: warning: initialisation from incompatible pointer type
chan_rtmp.c: In function â??rtmp_newâ??:
chan_rtmp.c:601: warning: passing argument 9 of
â??__ast_channel_allocâ?? makes integer from pointer without a cast
chan_rtmp.c:601: warning: passing argument 13 of
â??__ast_channel_allocâ?? makes pointer from integer without a cast
chan_rtmp.c:601: warning: format not a string literal and no format
arguments
chan_rtmp.c: In function â??check_handshake_replyâ??:
chan_rtmp.c:958: warning: format â??%dâ?? expects type â??intâ??, but
argument 6 has type â??size_tâ??
chan_rtmp.c: In function â??rtmp_set_stringâ??:
chan_rtmp.c:1882: warning: format â??%dâ?? expects type â??intâ??, but
argument 7 has type â??size_tâ??
chan_rtmp.c:1882: warning: format â??%dâ?? expects type â??intâ??, but
argument 8 has type â??size_tâ??
chan_rtmp.c: In function â??rtmp_set_numberâ??:
chan_rtmp.c:1902: warning: format â??%dâ?? expects type â??intâ??, but
argument 6 has type â??long unsigned intâ??
chan_rtmp.c: In function â??rtmp_set_objectâ??:
chan_rtmp.c:1959: warning: format â??%dâ?? expects type â??intâ??, but
argument 7 has type â??size_tâ??
chan_rtmp.c:1959: warning: format â??%dâ?? expects type â??intâ??, but
argument 9 has type â??size_tâ??
chan_rtmp.c:1994: warning: format â??%dâ?? expects type â??intâ??, but
argument 6 has type â??long intâ??
chan_rtmp.c: In function â??rtmp_send_messageâ??:
chan_rtmp.c:2074: warning: format â??%dâ?? expects type â??intâ??, but
argument 9 has type â??size_tâ??
chan_rtmp.c: In function â??rtmp_handle_connection_messageâ??:
chan_rtmp.c:2475: warning: the address of â??levelâ?? will always
evaluate as â??trueâ??
chan_rtmp.c:2476: warning: the address of â??codeâ?? will always
evaluate as â??trueâ??
chan_rtmp.c:2477: warning: the address of â??descriptionâ?? will always
evaluate as â??trueâ??
chan_rtmp.c: In function â??rtmp_handle_audio_packetâ??:
chan_rtmp.c:2626: warning: â??avcodec_decode_audio2â?? is deprecated
(declared at /usr/local/include/libavcodec/avcodec.h:3194) 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-15 06:29 dlogan         Note Added: 0107775                          
======================================================================




More information about the asterisk-bugs mailing list