Comments (2)
Considering that video conferencing has been a crucial application for the web, if we want to bring the best API support for video conferencing, maybe we should have a separate API.
I think this is a good question. #269 added togglemicrophone
, togglecamera
and hangup
arguably a bit prematurely.
If we stop there, then a more conservative approach might be to start with a MediaCaptureSession
API to cover that subset only, or as I mention in #278 (comment) try to decouple and solve routing with no change in API.
Most computing devices come with camera and mic these days, so having hardware/keyboard controls for these make sense to me.
But a "video conference" is application specific — determining that "video conferencing" is happening can actually be quite hard in browsers today — Is it definable through a series of common resources or actions? Are these locked in to how people work already? Or might we be baking in assumptions about how apps work this year?
I confess I find your forward looking suggestion appealing, but pragmatically the actions still sound a bit novel and maybe context-related rather than something found e.g. in hardware keyboards already.
from mediasession.
Thanks for the comments, Jan-Ivar. I agree this needs more thinking.
But a "video conference" is application specific — determining that "video conferencing" is happening can actually be quite hard in browsers today — Is it definable through a series of common resources or actions? Are these locked in to how people work already? Or might we be baking in assumptions about how apps work this year?
I imagine that the web apps need to explicitly tell that a video conferencing is happening by using this API. Actually this API can also be a way for the browser or even OS to decide whether there is a video conferencing going-on.
I am relatively new to MediaSession API. I am reading and thinking more on whether the video conferencing interfaces can be perfectly integrated into it. But as mentioned in my first post, because video conferencing is a very important application these days, my feeling is that it should be worth a dedicated API if that is the only way to deliver the best user/developer experience.
from mediasession.
Related Issues (20)
- Extend MediaMetadata to capture video chapter information
- Should we add slide presentation specific actions? HOT 14
- Should it be possible for web pages to trigger actions on another page? HOT 3
- Should we add a common repository for MediaSession actions and WebRTC capture handle actions? HOT 2
- Status of AudioFocus API HOT 4
- Definition of active media session and the togglemicrophone, togglecamera, hangup actions HOT 7
- Privacy issue: is it a good idea to let webapps lie about camera/mic ON/OFF on a user's lock screen? HOT 4
- MediaSession API on Edge in showing ANY buttons when entering picture-in-picture HOT 2
- Update explainer with video conferencing actions HOT 1
- Add takephoto action to spec
- The active media session might not be the only one being notified of actions
- MediaSession as a user-constructible object don't work. HOT 1
- Media Session doesn't show artwork on iOS 16.1.1 HOT 3
- mediaSession.setActionHandler not working properly with more than one video element on Chrome HOT 2
- Show album art (song cover) using media session api with jsmediatags api.
- Make PiP mediaSession Mic and Camera icons always visible HOT 1
- EnterPictureInPicture MediaSessionAction HOT 2
- Notification buttons on the lock screen HOT 2
- Top issues for TPAC 2023 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mediasession.