How to ensure video transmission quality when network congestion occurs? Can I use libdatachannel library to reduce the bitrate/resolution/frame rate of the video, or is there a better solution? #1307
-
thank you! |
Beta Was this translation helpful? Give feedback.
Answered by
paullouisageneau
Jan 8, 2025
Replies: 1 comment
-
For media transport, libdatachannel does not encode so it can do nothing by itself, you need to use a realtime encoder allowing you to change the bitrate dynamically. There is currently no rate controller shipped with the library but you can implement your own with media interceptors, for instance @vagonhq has a fork with a rate controller. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
zhouizhan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For media transport, libdatachannel does not encode so it can do nothing by itself, you need to use a realtime encoder allowing you to change the bitrate dynamically. There is currently no rate controller shipped with the library but you can implement your own with media interceptors, for instance @vagonhq has a fork with a rate controller.