
When a user does not have camera on his system or he does not choose to allow the camera, then the connection is not established and stream does not work.
We want the stream to show only audio in case the viewing audience does not have camera at his end.
We tried below:
You can use our troubleshooting guide to test the camera and detect if it is there. [https://webdemo.agora.io/agora_webrtc_troubleshooting/]
If it is not there, then you would just set audio to true and video to false. For example, in the create stream, see below.
var localStream = AgoraRTC.createStream({
audio:
true,
video:
false});
But this above method is not working. When we try to join with audio true and video false, then an error is coming and user is not able to join the stream.
This is getting very urgent and we are getting for any resolution in ticket as well from exact 1 month now.
When a user does not have camera on his system or he does not choose to allow the camera, then the connection is not established and stream does not work.
We want the stream to show only audio in case the viewing audience does not have camera at his end.
We tried below:
You can use our troubleshooting guide to test the camera and detect if it is there. [https://webdemo.agora.io/agora_webrtc_troubleshooting/]
If it is not there, then you would just set audio to true and video to false. For example, in the create stream, see below.
var localStream = AgoraRTC.createStream({
audio:
true,
video:
false});
But this above method is not working. When we try to join with audio true and video false, then an error is coming and user is not able to join the stream.
This is getting very urgent and we are getting for any resolution in ticket as well from exact 1 month now.