Hi,
We are currently building a project using WCS and we have a requirement where we want user to see what they are going to stream. We want to allow user to stream camera or screenshare. I have looked in the forum and found a helpful link where you have advised to use getMediaAcess to get the display into the localVideo. This also works when you change the constraints to 'screen' for video.
However, we want user to start streaming with a button click after they have done the preview. You can pass the deviceId in the constraints for the camera streaming but is it possible to do the same for the screen sharing, so 'Choose Screen' dialog does not appear as user have already selected the screen they want to share.
I believe this will be very common use case where you want to see what will stream before you actually start streaming.
Any help or guidance to achieve that will be highly appreciated.
Regards
Azhar
We are currently building a project using WCS and we have a requirement where we want user to see what they are going to stream. We want to allow user to stream camera or screenshare. I have looked in the forum and found a helpful link where you have advised to use getMediaAcess to get the display into the localVideo. This also works when you change the constraints to 'screen' for video.
However, we want user to start streaming with a button click after they have done the preview. You can pass the deviceId in the constraints for the camera streaming but is it possible to do the same for the screen sharing, so 'Choose Screen' dialog does not appear as user have already selected the screen they want to share.
I believe this will be very common use case where you want to see what will stream before you actually start streaming.
Any help or guidance to achieve that will be highly appreciated.
Regards
Azhar