Stian Eide
Member
Hi there
We´r seeing some random issues with the rtmp republished quality, we use the room api and republish both streams.
If we use VP8 then looking at webrtc internals bandwidth and the bandwidth on the republished streams we can see that there's almost a 50% reduction so everything looks good as webrtc but quality is bad on the rtmp republished stream.. If we strip VP8 on the publishing side the bandwidth of webrtc and rtmp matches, i guess that's because there's no need for transcoding if we use H264 ..
However we sometimes see a deprecated quality using H264 as well. One of our clients report that when they test using firefox as guest and host in the room API, everything looks fine but rtmp republished stream is pixelated..
Any inputs on how we can make this more stable, our setup will possible involve several concurrent rtmp republishing streams
We run 5.2.1050 on an instance with 4 CPUs and 8GB ram , centos 7 and test is done with only 2 streams
We´r seeing some random issues with the rtmp republished quality, we use the room api and republish both streams.
If we use VP8 then looking at webrtc internals bandwidth and the bandwidth on the republished streams we can see that there's almost a 50% reduction so everything looks good as webrtc but quality is bad on the rtmp republished stream.. If we strip VP8 on the publishing side the bandwidth of webrtc and rtmp matches, i guess that's because there's no need for transcoding if we use H264 ..
However we sometimes see a deprecated quality using H264 as well. One of our clients report that when they test using firefox as guest and host in the room API, everything looks fine but rtmp republished stream is pixelated..
Any inputs on how we can make this more stable, our setup will possible involve several concurrent rtmp republishing streams
We run 5.2.1050 on an instance with 4 CPUs and 8GB ram , centos 7 and test is done with only 2 streams
Code:
codecs =opus,alaw,ulaw,g729,speex16,g722,mpeg4-generic,telephone-event,h264,flv,mpv
codecs_exclude_sip =mpeg4-generic,flv,mpv
codecs_exclude_streaming =flv,telephone-event
codecs_exclude_sip_rtmp =opus,g729,g722,mpeg4-generic,vp8,mpv
webrtc_cc_min_bitrate=1000000
webrtc_cc_max_bitrate=10000000
webrtc_sdp_min_bitrate_bps=3000000
webrtc_sdp_max_bitrate_bps=7000000
periodic_fir_request=true
video_encoder_second_thread_threshold=777000
video_encoder_max_threads=2
rtmp.server_buffer_enabled=true