sepfy / libpeer

WebRTC Library for IoT/Embedded Device using C
MIT License
804 stars 108 forks source link

Not support multi-session #32

Open thanhhuyen2297pt opened 1 year ago

thanhhuyen2297pt commented 1 year ago

I see PEAR library only supports single session(tab on website). Detail: -session 1( 1 tab on Google Chrome: http://0.0.0.0:8000/): everything is working properly. Ex: DataChannel oke, i can send messege and receive in callback function on_message(): "Got message ..." -session 2( 1 tab another on Google Chrome: http://0.0.0.0:8000/): error occurred. +Work properly only with session 2. +session 1: error. Everything stop. EX: I can't send and receive message.

==>So exactly does the library support multiple sessions? Example help me how to create Multi-session for PeerConnection. Thank you for your help.