[Freeswitch-users] Streaming out of conference via rtmp

Nathan Stratton nathan at robotics.net
Thu Oct 15 14:57:25 UTC 2020


Sure, so we have a number of users that dial into a room, say 4600, they
receive audio and video from the moderator but don't send anything
themselves because of mute|vmute. My customer wants to instead of calling
in as a moderator, to instead send content to the room via SlingStudio like
they do with Facebook and Youtube. Sling Studio sends a stream as
rtmp://{my ip}/{room} I was hoping I could do that with mod_rtmp but was
not able to make it work. So I am looking for another way to send video
from the RTMP server to the FreeSWITCH room. I have found SIP to RTMP
software, but I am trying to do the opposite, I need to get from RTMP to
SIP room.

  <extension name="Simple add-caller conf: member">
    <condition field="destination_number" expression="^(46\d{2})$">
      <action application="answer"/>
      <action application="conference" data="$1 at default+flags{mute|vmute}"/>
    </condition>
  </extension>

  <extension name="Simple add-caller conf: moderator">
     <condition field="destination_number" expression="^\*(46\d{2}$)">
       <action application="answer"/>
       <action application="digit_action_set_realm" data="moderator"/>
       <action application="conference" data="$1 at simple+flags{moderator}"/>
     </condition>
  </extension>

><>
nathan stratton


On Thu, Oct 15, 2020 at 10:43 AM David Villasmil <
david.villasmil.work at gmail.com> wrote:

> What are you trying to accomplish exactly?
>
> On Thu, 15 Oct 2020 at 15:13, 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
>
> --
> Regards,
>
> David Villasmil
> email: david.villasmil.work at gmail.com
> phone: +34669448337
> _________________________________________________________________________
>
> 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/20201015/befb072c/attachment.html>


More information about the FreeSWITCH-users mailing list