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

Alternative approach to configurationchange #81

Open
eladalon1983 opened this issue Jan 24, 2023 · 0 comments
Open

Alternative approach to configurationchange #81

eladalon1983 opened this issue Jan 24, 2023 · 0 comments

Comments

@eladalon1983
Copy link
Member

During the WebRTC WG's interim meeting of January 2023, I presented a proposal for a API, which will auto-pause tracks under certain conditions, and fire an event notifying the app that this has happened. This prevents incorrectly processed frames from being being placed on the wire before the Web application has time to process the event. Resources on this proposal include:

I believe configuration changes are sub-case here, which is why I proposed:

enum PauseReason {
  “top-level-navigation”,
  "surface-switch",
  “config-change”
};

I think if we adopt some variant of my proposal, we'll end up with a more useful and general API than the configurationchange event. (It is still on my backlog to respond to the feedback given during the meeting, but I sensed the room as mostly supportive of the general thrust of that proposal.)

Wdyt? @eehakkin? Others?

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

1 participant