Discussion:
[Freeswitch-users] RTMP from non-flash/flex code
jahnunya
2012-01-20 08:37:55 UTC
Permalink
Hi.

I'd like to ask if anybody succeeded to connect streams from RTMP session
to a call, for example SIP, not using flex/Flash.

I need a way to connect a SIP call to voice streams available from RTMP
server (Red5). Which side initiates the call doesn't matter to me.

I tried the flex client and it works fine: a call from Flash/flex could
initiate a SIP call in FreeSWITCH.

However, I need to connect streams from RTMP server (Red5). So far, every
attempt to do the same failed:
I can connect to FreeSWITCH via RTMP, of course, and make a call (by
calling the "makeCall" method) but the streams cannot be connected.

I tried the other way round: from SIP to RTMP, but it seems like the module
was not meant to work this way, as it complaints about the session id/uuid.

Unfortunately, I am not a C/C++ developer, so reading the code doesn't help
me.

Any solution or explanation of the RTMP module will be highly appreciated.

Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120120/6f07e9ed/attachment.html
Ken Rice
2012-01-20 22:51:42 UTC
Permalink
you need to keep in mind that RTMP isn't just a streaming media protocol,
its kinda like JSON or XML in the fact that you can encode a variety of
things into RTMP such as arrays etc...

you need to review the RTMP client implementation in freeswitch and make a
matching plugin for Red5 or look at some things like red5phone and see how
to make red5 talk sip...

Keeping in mind that while red5 does work and work well in many instances I
have found it to leak memory something fierce ...

K
Post by jahnunya
Hi.
I'd like to ask if anybody succeeded to connect streams from RTMP session
to a call, for example SIP, not using flex/Flash.
I need a way to connect a SIP call to voice streams available from RTMP
server (Red5). Which side initiates the call doesn't matter to me.
I tried the flex client and it works fine: a call from Flash/flex could
initiate a SIP call in FreeSWITCH.
However, I need to connect streams from RTMP server (Red5). So far, every
I can connect to FreeSWITCH via RTMP, of course, and make a call (by
calling the "makeCall" method) but the streams cannot be connected.
I tried the other way round: from SIP to RTMP, but it seems like the
module was not meant to work this way, as it complaints about the session
id/uuid.
Unfortunately, I am not a C/C++ developer, so reading the code doesn't
help me.
Any solution or explanation of the RTMP module will be highly appreciated.
Thanks in advance
_________________________________________________________________________
consulting at freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120120/0eac1c9f/attachment.html
Loading...