Hello,
Need a reference code to send Custom message from Browser before establishing stream. Also sample code to receive that signaling message in WebRTC C SDK and process.
My simplified setup: Browser JS client <-> Raspberry Pi
I want to send a custom Signaling message ( sort of User Role: Privileged, just viewer etc ) to Pi and Then put business logic in Pi whether to stream two way audio or one way audio in this WebRTC stream session. Pi would do some additional operations based on the role passed from Browser.
Thanks,
Darshan