These are chat archives for andyet/SimpleWebRTC
Hi guys. I have a few quick SimpleWebRTC lib questions:
Is there a way to pass in the screenshare mandatory options or possible to set them retrospectively. I particularly desire to set the maxFrameRate option which is fixed at 3 FPS :(
Is there a clean we to quietly feature test screensharing without creating an instance of SimpleWebRTC?
I can use navigator.getUserMedia to achieve this for video features, however that is not so straightforward for screensharing (on the SimpleWebRTC instance we have shareScreen method cb, but we get the UI pop up). getScreenMedia (testing for err in the cb) would do the trick perfectly however there is no way to reach that (or find a wrapped version statically from SimpleWebRTC). Ideally we would have a static feature test for the key capabilities video streaming and screen share.
startLocalVideo has no callback or promise to be able to inline the success / failure of opening a stream.