Hello,
We have a WCS instance running on Digital Ocean droplet, and we use it as a "proxy" for live streams from browser to Mux (https://mux.com), that accepts RTMP input. We are aiming 1280x720 resolution, and right now we don't like video quality much.
I tried both H.264 and VP8 codecs (changing their order in
H.264 sends stable frame size 1280x720 from the start, but it takes it about a minute or even more to get good image quality. In other words, it takes H.264 about a minute to reach bitrate of ~2.2 Mb/s. And during this minute video quality is very poor.
VP8 has dynamic frame resizing and it starts from 480x360 or something like this, and then gets required 1280x720 framesize in the same minute of so. During this minute its picture is better than of H.264, but the problem is that Mux resizes the whole stream by its first frame, so as a result on Mux size we have a 480x360 video, even if WebRTC provides 1280x720. Moreover, VP8 adds ugly colored artifacts to the picture sometimes.
I also tried to force server transcoding using
So, my question is: are there any client- or serverside options to increase WebRTC video quality, making it smooth from the start and having the desired framesize?
We have a WCS instance running on Digital Ocean droplet, and we use it as a "proxy" for live streams from browser to Mux (https://mux.com), that accepts RTMP input. We are aiming 1280x720 resolution, and right now we don't like video quality much.
I tried both H.264 and VP8 codecs (changing their order in
codecs
setting). H.264 sends stable frame size 1280x720 from the start, but it takes it about a minute or even more to get good image quality. In other words, it takes H.264 about a minute to reach bitrate of ~2.2 Mb/s. And during this minute video quality is very poor.
VP8 has dynamic frame resizing and it starts from 480x360 or something like this, and then gets required 1280x720 framesize in the same minute of so. During this minute its picture is better than of H.264, but the problem is that Mux resizes the whole stream by its first frame, so as a result on Mux size we have a 480x360 video, even if WebRTC provides 1280x720. Moreover, VP8 adds ugly colored artifacts to the picture sometimes.
I also tried to force server transcoding using
disable_streaming_proxy=true
and force_client_requested_video_resolution=false
and encoder_default_video_resolution=1280x720
settings, but I didn't notice any change. Maybe I made something wrong.So, my question is: are there any client- or serverside options to increase WebRTC video quality, making it smooth from the start and having the desired framesize?