I am familiar with webrtc bandwidth control for video streams. I am able to specify maximum bandwidth for video steams(P2P connections). But when I tried to set max bitrate i.e. specify the bandwidth for screen sharing P2P connection I am getting following error.
Uncaught (in promise) DOMException: Read-only field modified in setParameters().
For code reference I am using following method for bandwidth
'RTCRtpSender' in window
'setParameters' in window.RTCRtpSender.prototype
I just want to know if we can control the bandwidth of screen share over webrtc or I am doing something wrong.
Thanks in advance
Chetan
--
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/2ce8f2f0-a13e-4541-9220-6db9d451601b%40googlegroups.com.
modifying https://webrtc.github.io/samples/src/content/peerconnection/bandwidth/ to use getDisplayMedia instead of getUserMedia works just fine here. Are you calling getParameters before calling setParameters?
Am Mo., 10. Feb. 2020 um 13:50 Uhr schrieb chetan batra <chetan...@gmail.com>:
--I am familiar with webrtc bandwidth control for video streams. I am able to specify maximum bandwidth for video steams(P2P connections). But when I tried to set max bitrate i.e. specify the bandwidth for screen sharing P2P connection I am getting following error.
Uncaught (in promise) DOMException: Read-only field modified in setParameters().For code reference I am using following method for bandwidth
'RTCRtpSender' in window
'setParameters' in window.RTCRtpSender.prototypeI just want to know if we can control the bandwidth of screen share over webrtc or I am doing something wrong.
Thanks in advance
Chetan
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/58a0e4e6-9757-4a3e-ac8c-51a772250279%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/CADxkKi%2BYs2gmTCg3EVTV3D6%2Bxc-duRU1YkD44rqQvTmGwgF1_g%40mail.gmail.com.