Skip to content

Opus audio is not received completely #2090

@Yaroslav-95

Description

@Yaroslav-95

Your environment.

  • Version: v3.1.15
  • Browser: N/A

What did you do?

I've written a small program to test Pion in which I have two instances of the same program communicate with each other over WebRTC using Pion. One "calls" the other and sends over RTP an opus track.

What did you expect?

To receive the audio that was sent with no discernible differences.

What happened?

The received audio sounds as if some samples or packets were skipped or lost. It was tested locally, so it's not a network problem, and the resulting audio sounds the same every time, so the lost data is always the same.

The test program: https://github.com/Yaroslav-95/wrtcion
Version where the received audio is saved to disk: https://github.com/Yaroslav-95/wrtcion/tree/save-to-file

Maybe it's not really an issue with Pion, I'm not sure. But I've been trying to get this to work properly and honestly I have no idea what I might be doing wrong, or If I'm doing something wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions