Hi,
I know that there’s no SDK for Android.
I already have an application that uses webrtc and I have integrated websocket messaging from the openvidu example.
Everything works
But I have a question: On the website through the openvidu sdk I create a connection to upload my video to the server and then I create a connection for each participant I want to subscribe to. So one connection that upload and one connections for each subscriber that download. On the android side I do a similar thing. But I noticed that when I create a connection with each subscriber I send audio and video. This increases my bandwidth and CPU work. I tried adding the constants ‘offerToReceiveAudio’ and ‘offerToReceiveVideo’ when I create the offers and remove the streams from the connection but this means that I don’t hear and I don’t see subscribers.
So I wonder if the problem is the openvidu server that doesn’t recognize constants when I create the offer or if I have to change something about the implementation.
Thanks for your help.