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

Cannot decode H264 while one can only encode VP8 #163

Closed
scaret opened this issue Apr 7, 2021 · 2 comments
Closed

Cannot decode H264 while one can only encode VP8 #163

scaret opened this issue Apr 7, 2021 · 2 comments
Labels

Comments

@scaret
Copy link

scaret commented Apr 7, 2021

https://github.com/versatica/mediasoup-client/blob/v3/src/Transport.ts#L591

The function canReceive depends on Transport._extendedRtpCapabilities, and _extendedRtpCapabilities depends on whether the device can encode with the codec.

So if Browser A can decode H264 but can only encode VP8, Transport._extendedRtpCapabilities will not contain H264. So if Browser B can only encode H264, mediasoup will reject A receiving from B. If I comment the line, the browse will accept the sdp and works fine.

@scaret scaret added the bug label Apr 7, 2021
@ibc
Copy link
Member

ibc commented Apr 7, 2021

I'm afraid we are not ready for having different encoding & decoding capabilities. Perhaps in the future.

@ibc
Copy link
Member

ibc commented Apr 23, 2024

Closing this issue in favour of #141.

@ibc ibc closed this as completed Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants