Skip to content

Endless pliCount and nackCount #3098

@cedricve

Description

@cedricve

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):

Image

An example of a connected session (higher resolution), without any decoding (after retrying new sessions it might happen that the stream still goes through):

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions