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

Questions on Scalability Mode and Media Capabilities #95

Closed
bc-lee opened this issue Oct 19, 2023 · 1 comment
Closed

Questions on Scalability Mode and Media Capabilities #95

bc-lee opened this issue Oct 19, 2023 · 1 comment

Comments

@bc-lee
Copy link

bc-lee commented Oct 19, 2023

I have questions about Scalability Mode and Media Capabilities:

Let's say that a user agent advertises through the Media Capabilities API that the support of the encoding configuration below is power efficient.

{
  type: 'webrtc',
  video: {
    contentType: 'video/H264',
    width: 640,
    height: 480,
    bitrate: 100000,
    framerate: 30,
    scalabilityMode: "L1T3"
  }
};

However, when the user agent actually creates the encoder with the given Scalability Mode, it finds that the encoder does not support the given Scalability Mode.

In such a scenario, what would be the proper ways to handle this situation? Should we not create the encoder? Ignore the scalabilityMode? Or do something else? What if the power-efficient encoder is the only encoder for that codec?

Also, if the user agent can only determine whether a specific scalability mode is supported or not after the first few frames are encoded, what would be the proper ways to handle this situation? Should we not advertise the scalability mode? Or do something else?

@aboba
Copy link
Contributor

aboba commented Oct 19, 2023

Transferred to the Media Capabilities API Issue 208.

@aboba aboba closed this as completed Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants