Closed lekting closed 2 years ago
How did you resolve the issue?
Hey @lekting
Are you going from WebRTC -> RTMP
?
You can ensure that get a perfect feed with WebRTC by inspecting the Sequence Numbers. Do you know if you are having issues Browser -> Pion
or Pion -> GStreamer
.
Hey @lekting
Are you going from
WebRTC -> RTMP
?You can ensure that get a perfect feed with WebRTC by inspecting the Sequence Numbers. Do you know if you are having issues
Browser -> Pion
orPion -> GStreamer
.
Hey! Problem still available. For now i know only some facts: WebRTC in Browser always changing bitrate from 200kb to 4mb, https://ibb.co/F0NJV2m <- image But, in case WebRTC Browser -> WebRTC Browser quality is poor, but no artifacts. I don't know how its working
Fixed by switching to sdp connection and changing GStreamer to FFMPEG
Your environment.
Some text:
Greetings, I made the implementation of streaming using WebRTC for a quick start of the stream. Everything was done, but a problem arose, it was that artifacts appeared randomly on the video (see image). For streaming, I use GStreamer to convert from rtp to rtmp. But, I found out that the problem is created even at the moment of reading the track packet from the buffer. The question is, how can this be fixed? i
Accordingly, the further the user is from the server, the more often artifacts are, but, on a pure WebRTC browser implementation (peer-server-peer), this is not the case.
I read in different sources that perhaps the problem is that webrtc has the ability to constantly change the bitrate and just at the junction of the change it creates this artifact and also read that the built-in utilities in webrtc can fix it.
Code:
Image here: click (ibb)