Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

producer.replaceTrack(): strange behavior #8

Closed
ibc opened this issue Feb 24, 2020 · 1 comment
Closed

producer.replaceTrack(): strange behavior #8

ibc opened this issue Feb 24, 2020 · 1 comment
Assignees
Labels
aiortc bug Bug in aiortc Python library bug Something isn't working

Comments

@ibc
Copy link
Member

ibc commented Feb 24, 2020

Actually, sender.replaceTrack() works randomly in aiortc (or that's what I see in my experiments). When it "works", it keeps sending RTP. However the remote (i.e. Chrome) cannot render the received RTP for ~10 seconds and gets frozen video instead (but it does receive RTP). Asking for a key frame via RTCP PLI does not make it work. After ~10 seconds, the receiver can render the video again.

Said that, the above happens if I replace a webcam track with another new webcam track. If I try to replace a webcam track with a file video track, the remote gets frozen video forever, and I think that there is no sending RTP anymore.

NOTE: Obviously this may have relationship with #7.

@ibc ibc added bug Something isn't working aiortc bug Bug in aiortc Python library labels Feb 24, 2020
@ibc ibc assigned ibc and jmillan Feb 24, 2020
@ibc
Copy link
Member Author

ibc commented Feb 25, 2020

Let's handle this issue in #9 and aiortc/aiortc#304.

@ibc ibc closed this as completed Feb 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aiortc bug Bug in aiortc Python library bug Something isn't working
Development

No branches or pull requests

2 participants