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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jul 22 10:17:34 CDT 2010


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:                   feature
Priority:                   normal
Status:                     ready for testing
Target Version:             1.8
Asterisk Version:           SVN 
JIRA:                       SWP-1477 
Regression:                 No 
Reviewboard Link:            
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:              2010-07-22 10:17 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 libavcodec, included in FFMPEG
version 0.6. Be careful to configure FFMPEG's sources with the
--enable-shared option activated in the configure script.

Prior to install Asterisk, you need to have librtmp on your system.
librtmp is part of the rtmpdump program : http://rtmpdump.mplayerhq.hu/

To install it :
# wget http://rtmpdump.mplayerhq.hu/download/rtmpdump-2.2e.tar.gz [^]
# tar zxvf rtmpdump-2.2e.tar.gz
# cd rtmpdump-2.2e/
# make
# make install

To install Asterisk :
# svn co http://svn.digium.com/svn/asterisk/team/phsultan/rtmp-support
asterisk-rtmp
# cd asterisk-rtmp
# ./configure
# make menuselect
[check here that chan_rtmp is eligible for installation]
# make
# make install
====================================================================== 

---------------------------------------------------------------------- 
 (0124852) jtodd (administrator) - 2010-07-22 10:17
 https://issues.asterisk.org/view.php?id=15484#c124852 
---------------------------------------------------------------------- 
Just to note again: on the two streaming methods, I'm getting no audio OR
video, while for the file-based method I get audio but a core dump when I
try to re-invite video.

Here is what happens from a network perspective when I dial the "1237"
extension in the example I provided:

root at ubuntu:/home/jtodd/asterisk/asterisk-rtmp# tshark -n host
192.168.1.111 and not port 22 and not host 192.168.1.102 and not arp
Running as user "root" and group "root". This could be dangerous.
Capturing on eth1


  0.000000 192.168.1.111 -> 68.87.64.150 DNS Standard query A
video.ted.com\020
  0.019101 68.87.64.150 -> 192.168.1.111 DNS Standard query response A
208.68.139.38
 
What's up with the escaped characters in there?  It looks like it's
getting a valid reply on the first query but not recognizing it.  Similar
weird characters show up in the query for 1236 but even MORE mangled
(dropping the ".com"):

 10.727124 192.168.1.111 -> 68.87.64.150 DNS Standard query A
streaming.ted\020
 10.748420 68.87.64.150 -> 192.168.1.111 DNS Standard query response, No
such name
 10.748568 192.168.1.111 -> 68.87.64.150 DNS Standard query A
streaming.ted\020.loligo.com
 10.770444 68.87.64.150 -> 192.168.1.111 DNS Standard query response, No
such name

 This is with SVN version 278621 of the RTMP branch.  These DNS problems
may be unrelated to RTMP, but are preventing functionality. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-22 10:17 jtodd          Note Added: 0124852                          
======================================================================




More information about the asterisk-bugs mailing list