So the big part of what I was missing was something to receive the RTMP stream, using nginx I now can receive RTMP on 1935 and if I connect to nginx on 1935 I can play it. So now I just need this to work:


freeswitch@troc.staging.vocinity.com> conference 4600 play rtmp://10.0.0.51:1935/4600

-ERR (play) File: rtmp://10.0.0.51:1935/4600 not found.

2020-10-16 07:18:35.507992 [DEBUG] avformat.c:1665 sample rate: 16000, channels: 1
2020-10-16 07:18:35.507992 [WARNING] avformat.c:1116 Could not open input file '10.0.0.51:1935/4600' (error 'Protocol not found')


However, if I try mplayer with the same destination it works:

mplayer rtmp://10.0.0.51:1935/4600



mod_av is installed:

freeswitch@troc.staging.vocinity.com> load mod_av

+OK Reloading XML
-ERR [Module already loaded]

2020-10-16 07:22:04.967994 [WARNING] switch_loadable_module.c:1855 Module mod_av Already Loaded!
2020-10-16 07:22:04.967994 [INFO] switch_time.c:1430 Timezone reloaded 0 definitions



><>
nathan stratton


On Wed, Oct 14, 2020 at 5:31 PM <krice@freeswitch.org> wrote:

Conference CONFNAME play rtmp://whatever/stream/name

just have mod_av installed also you can conference record rtmp://… too broadcast the conf room out

 

From: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> On Behalf Of Nathan Stratton
Sent: Wednesday, October 14, 2020 1:16 PM
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Subject: Re: [Freeswitch-users] $500 bounty RTMP to conference room

 

Got it, I can't find much on mod_av and nothing on how to have mod_av accept rtmp stream and add it to a conference. Not a big fan of RTMP, but that is what slingstudio supports.


><>
nathan stratton

 

 

On Wed, Oct 14, 2020 at 12:57 PM Mike Jerris <mike@freeswitch.org> wrote:

Use mod_av to record/playback rtmp://

 

mod_rtmp is an endpoint module. Its a different animal that really has no use now that webrtc is available almost everywhere.



On Oct 14, 2020, at 11:57 AM, Nathan Stratton <nathan@robotics.net> wrote:

 


Trying to broadcast from vlc or a sling box with rtmp to freeswitch conference room. I have mod_rtmp installed and why I try to steam from vlc I get:

 

2020-10-14 11:56:44.516563 [NOTICE] mod_rtmp.c:905 New RTMP session [88e00c1b-6b3a-4bac-83f5-bc12b879884b]
2020-10-14 11:56:44.516563 [INFO] rtmp_tcp.c:234 Rtmp connection from 50.210.153.253:36864
2020-10-14 11:56:44.516563 [DEBUG] rtmp.c:882 Sent handshake response
2020-10-14 11:56:44.536531 [DEBUG] rtmp.c:907 Done with handshake
2020-10-14 11:56:44.556571 [DEBUG] rtmp.c:1081 [chunk_stream=3 type=0x14 ts=0 stream_id=0x0] len=155
2020-10-14 11:56:44.556571 [DEBUG] rtmp.c:192 [amfnumber=3] Got INVOKE for connect
2020-10-14 11:56:44.556571 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x1 stream_id=0x0] len=4
2020-10-14 11:56:44.556571 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x5 stream_id=0x0] len=4
2020-10-14 11:56:44.556571 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x6 stream_id=0x0] len=5
2020-10-14 11:56:44.556571 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x4 stream_id=0x0] len=6
2020-10-14 11:56:44.556571 [DEBUG] rtmp.c:656 [amfnumber=3 type=0x14 stream_id=0x0] len=201
2020-10-14 11:56:44.556571 [DEBUG] rtmp.c:656 [amfnumber=3 type=0x14 stream_id=0x0] len=61
2020-10-14 11:56:44.556571 [NOTICE] rtmp_sig.c:122 Sent connect reply
2020-10-14 11:56:44.636529 [DEBUG] rtmp.c:1081 [chunk_stream=2 type=0x1 ts=0 stream_id=0x0] len=4
2020-10-14 11:56:44.636529 [DEBUG] rtmp.c:1089 SET CHUNKSIZE=512
2020-10-14 11:56:44.636529 [DEBUG] rtmp.c:1081 [chunk_stream=3 type=0x14 ts=0 stream_id=0x0] len=29
2020-10-14 11:56:44.636529 [DEBUG] rtmp.c:192 [amfnumber=3] Got INVOKE for releaseStream
2020-10-14 11:56:44.636529 [WARNING] rtmp.c:198 Unhandled invoke for "releaseStream"
2020-10-14 11:56:44.636529 [DEBUG] rtmp.c:1081 [chunk_stream=3 type=0x14 ts=0 stream_id=0x0] len=25
2020-10-14 11:56:44.636529 [DEBUG] rtmp.c:192 [amfnumber=3] Got INVOKE for FCPublish
2020-10-14 11:56:44.636529 [WARNING] rtmp.c:198 Unhandled invoke for "FCPublish"
2020-10-14 11:56:44.636529 [DEBUG] rtmp.c:1081 [chunk_stream=3 type=0x14 ts=0 stream_id=0x0] len=25
2020-10-14 11:56:44.636529 [DEBUG] rtmp.c:192 [amfnumber=3] Got INVOKE for createStream
2020-10-14 11:56:44.636529 [DEBUG] rtmp.c:656 [amfnumber=3 type=0x14 stream_id=0x0] len=29
2020-10-14 11:56:44.636529 [INFO] rtmp_sig.c:137 Replied to createStream (0)
2020-10-14 11:56:44.696580 [DEBUG] rtmp.c:1081 [chunk_stream=8 type=0x14 ts=0 stream_id=0x1] len=30
2020-10-14 11:56:44.696580 [DEBUG] rtmp.c:192 [amfnumber=8] Got INVOKE for publish
2020-10-14 11:56:44.696580 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x4 stream_id=0x0] len=6
2020-10-14 11:56:44.696580 [DEBUG] rtmp.c:656 [amfnumber=5 type=0x14 stream_id=0x1] len=138
2020-10-14 11:56:44.696580 [INFO] rtmp_sig.c:290 Got publish on stream 1.
2020-10-14 11:56:45.216562 [DEBUG] rtmp.c:1081 [chunk_stream=4 type=0x12 ts=0 stream_id=0x1] len=319
2020-10-14 11:56:45.656516 [DEBUG] rtmp_tcp.c:243 Closing socket
2020-10-14 11:56:51.796530 [NOTICE] mod_rtmp.c:1027 RTMP session ended [88e00c1b-6b3a-4bac-83f5-bc12b879884b]

 

Anyone able to help me? $500 via Paypal. 


><>
nathan stratto

 

_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com

_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com