[Freeswitch-dev] Heartbeat between WebRTC Client and Freeswitch

Brian West brian at freeswitch.com
Mon May 24 17:41:47 UTC 2021

The websocket is not used for any media data. If you're using Verto you may
need to look closer at your config.


On Mon, May 24, 2021 at 9:11 AM Qihong Wang <qihongw at gmail.com> wrote:

> Hi,
> I'm new to Freeswitch and real time communication. However, I'm
> involving a project which uses Freeswitch gateway for WebRTC communication.
> The client, mostly JavaScript code, uses Websocket to send media data and
> also the heartbeat regardless the ping/pong of Websocket.  Freeswitch must
> respond that heartbeat. I'm not sure where to start. I'm
> thinking src/mod/endpoints/mod_rtc/mod_rtc.c or mod_verto.c/mod_verto.c,
> ws.c might be the right place to add heartbeat handling?
> The second thought is using Freeswitch's event system, especially the
> buildin heartbeat event. If so, our client needs to give up its own
> heartbeat, although the possibility is very low. I'd love to hear how to
> utilize Freeswitch's heartbeat event between our client and Freeswitch
> gateway.
> Thanks in advance!
> Qihong
> _________________________________________________________________________
> 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-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> https://freeswitch.com


Brian West | Co-founder and Developer

Need Commercial support? email sales at freeswitch.com

FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045

Email: brian at freeswitch.com

Mobile: 918-424-9378

Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>

[image: https://www.facebook.com/signalwireinc?src=email]
<https://www.facebook.com/freeswitch> [image:
https://twitter.com/freeswitch] <https://twitter.com/freeswitch>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20210524/2989d9a6/attachment.html>

More information about the FreeSWITCH-dev mailing list