-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
We are using pion/webrtc in our open-source project, Kerberos Agent. We’re able to establish remote sessions through our TURN server, but when attempting to send RTSP streams at higher resolutions, we observe a continuous flow of PLI Count and Nack Count events.
Our logs show that ICE candidate pairs are successfully established, and data is indeed being transferred and received. However, all packets appear to be dropped. Interestingly, this behavior is intermittent—occasionally the stream does work.
After some experimentation, we found that lowering the video stream resolution significantly improves performance. Streams at 640x480 are decoded successfully without dropped frames, whereas higher resolutions like 1280x720 fail consistently.
We’re looking for guidance on how to address this issue. According to webrtc-internals, the connection is established successfully, data is flowing, yet every packet seems to be dropped, and the stream is never decoded in the browser.
An example of a working session (lower resolution):
An example of a connected session (higher resolution), without any decoding (after retrying new sessions it might happen that the stream still goes through):

