Every client need a websocket connection to communicate with you FS. Let say you have 1000 client you need a 1000 connection for communicate with your FS. 

You can use verto or SIP-WSS for WebRTC browser based communication. If you want to develope your own client side you can't do it in mod_verto because it's done by freeswitch team using their own json Flow. 

but you can develope you own SIP over websocket libaray using 
https://tools.ietf.org/html/rfc7118 like JSSIP, SipJS

Again you can't able to use single connection multiple client, Each and every client need one websocket connection to communicate with FS. 


On Sun, 7 Apr, 2019, 7:34 AM Sowmya Venkat, <sowmyatv@gmail.com> wrote:
Thanks a lot for the reply Mike. Sorry, the word Verto in my previous email seems little ambiguous,  I am trying to write my own client (not using verto.js). I am trying to talk to mod_verto on FS directly sending messages on websocket using JSON RPC. Based on your response, can you pls confirm if mod_verto does impose a restriction that each client connecting to it should have a separate web socket or can it support multiple clients on a single web socket and track each client based on some identifier?    

Thanks
Sowmya


On Sat 6 Apr, 2019, 4:34 AM Mike Jerris, <mike@freeswitch.com> wrote:
it is one per client.

On Fri, Apr 5, 2019 at 4:24 PM Sowmya Venkat <sowmyatv@gmail.com> wrote:
Hi, 
  Does FreeSWITCH require each Verto client to have a separate web socket connection?  I am trying to see if it is possible to open single web socket connection to FS and send verto login and invite messages for different clients on the same web socket? Does verto/FS have the ability to distinguish several clients on the same web socket based on say session Id or equivalent unique identifier?

Any input on this question is greatly appreciated

Thanks
Sowmya
_________________________________________________________________________
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
_________________________________________________________________________
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
_________________________________________________________________________
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