Skip to content

Repalcetrack is invalid #3292

@sxmzou

Description

@sxmzou

Vesion :release v4.1.6
Test scenario: I am modifying the backend based on examples/play from disk negotiation, using PION in conjunction with ffmpeg to capture two real cameras. The frontend uses the WebRTC API in the browser
I want to implement camera switching through replacetrack, but the phenomenon I have observed now is that when the first track is just started, it can be successfully switched through replacetrack. However, when the first track is started for a certain period of time, replacing track to the second track will cause the image to freeze. I found through Wireshark packet capture that the seq and timestamp after replacetrack are not continuous. Could this be the problem

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