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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jul 15 06:42:30 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:42 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
====================================================================== 

---------------------------------------------------------------------- 
 (0107776) dlogan (reporter) - 2009-07-15 06:42
 https://issues.asterisk.org/view.php?id=15484#c107776 
---------------------------------------------------------------------- 
backtrace

https://issues.asterisk.org/view.php?id=0  0x00007f9c0298ffb1 in strncpy () from
/lib/libc.so.6
(gdb) bt
https://issues.asterisk.org/view.php?id=0  0x00007f9c0298ffb1 in strncpy () from
/lib/libc.so.6
https://issues.asterisk.org/view.php?id=1  0x00007f9bf0fa8d65 in rtmp_request
(type=<value optimized out>,
format=<value optimized out>, data=<value optimized out>, cause=<value
optimized out>)
    at /usr/include/bits/string3.h:122
https://issues.asterisk.org/view.php?id=2  0x000000000045389e in ast_request
(type=0x7f9be33a9dc0 "RTMP",
format=64, requestor=0xc6b528, data=0x7f9be33aa6d0, cause=0x7f9be33aa0b8)
at channel.c:4406
https://issues.asterisk.org/view.php?id=3  0x00007f9bf5b3dc8c in dial_exec_full
(chan=0xc6b528, data=<value
optimized out>, peerflags=0x7f9be33aa870, continue_exec=0x0) at
app_dial.c:1879
https://issues.asterisk.org/view.php?id=4  0x00007f9bf5b40d76 in dial_exec
(chan=0xc4af94, data=0x0) at
app_dial.c:2452
https://issues.asterisk.org/view.php?id=5  0x00000000004c4ce0 in pbx_exec
(c=0xc6b528, app=0x7f9bfc496a70,
data=0x7f9be33acda0 "RTMP/writestream/readstream") at pbx.c:1369
https://issues.asterisk.org/view.php?id=6  0x00000000004ce6a4 in
pbx_extension_helper (c=0xc6b528, con=<value
optimized out>, context=0xc6b900 "default", exten=0xc6b950 "1002",
priority=1, label=0x0, 
    callerid=0xbf3b10 "snom", action=E_SPAWN, found=0x7f9be33aef0c,
combined_find_spawn=1) at pbx.c:4028
https://issues.asterisk.org/view.php?id=7  0x00000000004d0719 in __ast_pbx_run
(c=0xc6b528, args=0x0) at
pbx.c:4507
https://issues.asterisk.org/view.php?id=8  0x00000000004d1b8b in pbx_thread
(data=0xc4af94) at pbx.c:4884
https://issues.asterisk.org/view.php?id=9  0x0000000000508dfc in dummy_start
(data=<value optimized out>) at
utils.c:968
https://issues.asterisk.org/view.php?id=10 0x00007f9c021993ba in start_thread ()
from /lib/libpthread.so.0
https://issues.asterisk.org/view.php?id=11 0x00007f9c029f4fcd in clone () from
/lib/libc.so.6
https://issues.asterisk.org/view.php?id=12 0x0000000000000000 in ?? () 

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




More information about the asterisk-bugs mailing list