[Freeswitch-users] Streaming out of conference via rtmp
Nathan Stratton
nathan at robotics.net
Fri Oct 16 09:15:11 UTC 2020
I can make ffmpeg listen for RTMP, how would I get that into a conference
room?
><>
nathan stratton
On Thu, Oct 15, 2020 at 10:36 PM Christopher Rienzo <cmrienzo at gmail.com>
wrote:
> You could probably set up ffmpeg as a server to listen for the stream and
> then pull it on FS.
>
> On Thu, Oct 15, 2020 at 9:28 PM Ken Rice <krice at freeswitch.org> wrote:
>
>> these is to my knowledge no way to listen for a stream to randomly start
>> up. This would require designing a new module to handle the listening
>> service.
>>
>> Sent from my iPhone
>>
>> On Oct 15, 2020, at 11:43, Nathan Stratton <nathan at robotics.net> wrote:
>>
>>
>> Thanks, so yes, I want to play not record, but when I try to play it's
>> looking for a file, it's not listening on port 1935 for a RTMP stream from
>> the server. I need to ACCEPT a RTMP steam like mod_rtmp did, I understand
>> why mod_rtmp is not working but is there any other way to listen from RTMP
>> on port 1935 and send it into a conference?
>>
>>
>> freeswitch at troc.staging.vocinity.com> conference 4600 play
>> rtmp://localhost
>> -ERR (play) File: rtmp://localhost not found.
>>
>> 2020-10-15 12:38:12.636530 [ERR] avformat.c:1603 Invalid Format
>>
>>
>> So the issue is that play rtmp:// does not listen for an incoming RTMP
>> stream.
>> ><>
>> nathan stratton
>>
>>
>> On Thu, Oct 15, 2020 at 12:32 PM Ken Rice <krice at freeswitch.org> wrote:
>>
>>> Mod_rtmp was intended as a softphone endpoint written in flash. dont use
>>> it. litterally load mod_av then via esl, fs_cli etc “conference <confname>
>>> [play|record] rtmp://{rest/of/url}”
>>>
>>> its really that simple. play will pkay the rtmp stream into the
>>> conference like any other media file. record will shoot a media stream out
>>> to what ever rtmp reflector you are using auch as youtube or facebook or
>>> your own private rtmp server.
>>>
>>> Sent from my iPhone
>>>
>>> On Oct 15, 2020, at 08:42, Nathan Stratton <nathan at robotics.net> wrote:
>>>
>>>
>>> On Wed, Oct 14, 2020 at 10:43 PM David P <davidswalkabout at gmail.com>
>>> wrote:
>>>
>>>> In response to the thread " $500 bounty RTMP to conference room", try
>>>> something like this:
>>>>
>>>> <action application="record_session"
>>>> data="{modname=mod_av,vw=320,vh=240}rtmp://${ipOfDestination}:${portOfDestination}/${queryPathForDestination}"/>
>>>>
>>>
>>> So I am not trying to send rtmp, I am trying to do I think what mod_rtmp
>>> was doing and LISTEN for rtmp that is broadcast to the FreeSWITCH server.
>>>
>>> -Nathan
>>> _________________________________________________________________________
>>>
>>> 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
>
> _________________________________________________________________________
>
> 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/811da0df/attachment.html>
More information about the FreeSWITCH-users
mailing list