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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Nov 12 04:40:29 CST 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.10
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-11-12 04:40 CST
====================================================================== 
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
====================================================================== 

---------------------------------------------------------------------- 
 (0128820) alanbover (reporter) - 2010-11-12 04:40
 https://issues.asterisk.org/view.php?id=15484#c128820 
---------------------------------------------------------------------- 
Hi, I have been trying to make it work on a ubuntu server 10.04 and red5. I
get no errors, and it seems asterisk and red5 connect, but I just have been
able to make it work the audio on the writestream.

When I connect, on the red5 server (using oflademo app) I get that error,
even if connect with readstream and writestream:

[ERROR] [NioProcessor-1] org.red5.server.service.ServiceInvoker - Method
FCSubscribe with parameters [readstream] not found in
org.red5.demos.oflaDemo.Application at 1eda64e

Then, if I talk through the phone I can hear it using the flash, but I
cannot see any video. 

In the other way, if I publish a video using flash, the phone cannot see
it. If I publish audio using flash to the readstream, the conection works
good but once I say something to the microphone, I get a segmentation fault
in asterisk. 

I'm really interested on having work audio and video on the writestream
side. For hear the audio in the flash, I should put buffer = 0. Maybe I'm
missing any configuration for the video? Cause I can see how the video is
sended from the phone to the asterisk, but then, I cannot see any video on
flash. 

Thanks 

---------------------------------------------------------------------------

Versions:
ubuntu 10.04 LTS
asterisk-rtmp
rtmpdump 2.2e
red5-0.9.1

Phone: Grandstream 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-11-12 04:40 alanbover      Note Added: 0128820                          
======================================================================




More information about the asterisk-bugs mailing list