Issues with WebRTC/Gstreamer video quality

Viewed 19

Im pretty new in Streaming and RealTimeCommunication. I need to work on a service to playback camera feed from browser. (and probably use Gstreamer to process the video in future)

So I follow a helloworld example here: https://github.com/centricular/gstwebrtc-demos/blob/master/sendrecv/gst-java/src/main/java/WebrtcSendRecv.java

This looks so good and I got my camera video for first few 10 seconds. After 10 seconds, video quality start to become worse like this:

enter image description here

BTW, here is my current Gstreamer pipeine description (after WebRTCBin):

videoconvert ! queue max-size-buffers=1 leaky=downstream ! vp8enc deadline=1 ! rtpvp8pay mtu=1024 ! queue max-size-buffers=1 leaky=downstream ! capsfilter caps=application/x-rtp,media=video,encoding-name=VP8,payload=120

What could be reason to that in WebRTC? Could it be latency or just network congestion. Any clue is appreciate!

0 Answers
Related