[Freeswitch-users] $500 bounty RTMP to conference room

Nathan Stratton nathan at robotics.net
Fri Oct 16 18:58:49 UTC 2020


freeswitch at troc.staging.vocinity.com> conference 4600 play vlc://rtmp://
10.0.0.51:1935/4600
+OK (play) Playing file vlc://rtmp://10.0.0.51:1935/4600

2020-10-16 14:47:52.214273 [DEBUG] mod_vlc.c:838 VLC attempt to open rtmp://
10.0.0.51:1935/4600 read
2020-10-16 14:47:52.214273 [DEBUG] mod_vlc.c:863 VLC open rtmp://
10.0.0.51:1935/4600 for reading
2020-10-16 14:47:52.214273 [NOTICE] mod_vlc.c:881 VLC Path is unknown type
rtmp://10.0.0.51:1935/4600
VLC: PulseAudio server connection failure: Connection refused
2020-10-16 14:47:52.214273 [DEBUG] mod_vlc.c:242 Got a
libvlc_MediaStateChanged callback. New state: 1
Starting connection attempt to 10.0.0.51 port 1935
Successfully connected to 10.0.0.51 port 1935
Reinit context to 1280x720, pix_fmt: yuv420p
2020-10-16 14:47:57.334303 [DEBUG] mod_vlc.c:242 Got a
libvlc_MediaStateChanged callback. New state: 3
VLC: buffer deadlock prevented
VLC: parent window not available
VLC: parent window not available
VLC: window not available
freeswitch at troc.staging.vocinity.com>
root at troc:/usr/local/freeswitch/mod#

I get audio for a second (no video) and then it crashes.


><>
nathan stratton


On Fri, Oct 16, 2020 at 2:19 PM Darren Wiebe <darren at aleph-com.net> wrote:

> This might be overly complicated but I've used ffmpeg to convert RTMP to
> icecast and then used mod_shout or mod_vlc to play the stream into a
> conference bridge.
>
> Darren
>
>
> On Wed, Oct 14, 2020 at 2:34 PM Sergey Safarov <s.safarov at gmail.com>
> wrote:
>
>> You can try mod_vlc.
>> I have tested mod_vlc several months ago and found some functions do not
>> work as expected.
>>
>> But you can try.
>>
>>
>> On Wed, Oct 14, 2020 at 9:57 PM Nathan Stratton <nathan at robotics.net>
>> wrote:
>>
>>> 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20201016/bfcc3d12/attachment-0001.html>


More information about the FreeSWITCH-users mailing list