Comments (13)
I think we should stop the media on the remote device if the page is navigated. Otherwise, we are going to recreate a Presentation API.
@jernoble, WDYT? It seems that Safari iOS stops the session if the page is reloaded but kind of keep it alive if the page is navigated.
from remote-playback.
@mounirlamouri I think that would be best (if we stopped the session if the page was navigated).
from remote-playback.
FWIW, both Chrome and Firefox don't stop the playback in these cases so may be we could be more flexible and say that the UA can continue playing the video remotely and provide user with some browser controls?
For Chrome, we're going to gather some data on the usage and see if it's useful but continuous playback no matter what as long as there's a way to stop it is preferred by the Chromecast guidelines and seems better for the user (although not for the developer). WDYT?
from remote-playback.
@jernoble would you be okay with the proposal above?
from remote-playback.
@avayvod Because it may not be a choice that the UA makes (the remote end may choose to end or continue playback when the UA disconnects without input from the UA) I'd be happy if there was some explicit flexibility in the spec w.r.t. the behavior when the page closes or is navigated.
from remote-playback.
As I understand it, the resolution is to allow some flexibility in the spec so that the remote playback session doesn't have to be stopped when the media element goes out of scope, however, having a way to reconnect to the running session is not desired at this point (we could revisit it later if there's developer's demand for this API vs Presentation API allowing reconnecting, for example).
from remote-playback.
Added a note to the Stopping remote playback section of the spec.
from remote-playback.
We revisited this issue at F2F, so I'll reopen so we remember to update the spec with the latest considerations from the Open Screen Protocol.
Related F2F discussion: https://www.w3.org/2019/05/24-webscreens-minutes.html#x08
from remote-playback.
@mfoltzgoogle @anssiko is there anything else to do here? I'm not sure why this was re-opened.
from remote-playback.
Based on F2F minutes https://www.w3.org/2019/05/24-webscreens-minutes.html#x08 it seems this is a v2 issue and would not block v1 API advancement on the Rec Track?
I defer to @mfoltzgoogle to confirm.
from remote-playback.
We've made a change to the OSP to make it compatible with this scenario, but it would be a new feature as far as the Remote Playback API is concerned. I agree with Anssi that this makes sense to defer to v2.
from remote-playback.
Sorry didn't intend to close, just defer.
from remote-playback.
See additional discussion of how remote playbacks could be reconnected in the two openscreen issues above.
Any protocol updates can be proposed after we determine what the requirements are from the API.
from remote-playback.
Related Issues (20)
- Use [Exposed=Window]
- Add explicit text to define the disableRemotePlayback content attribute
- Restrict the API to Secure Contexts or discuss the decision in Security Considerations HOT 1
- Rephrase normative statement in security and privacy consideration section HOT 1
- Compatibility of Remote Playback API with AirPlay mirroring HOT 2
- [Chrome 64] The RemotePlayback API is disabled on this platform HOT 4
- Chromecast TV not detected HOT 5
- Define remote playback interaction with background playback policies HOT 3
- Explore polyfilling Remote Playback API on top of Presentation API HOT 1
- Support for TTML and IMSC captions HOT 1
- How does remote playback interact with EME? HOT 4
- RemotePlaybackState enum can become misleading when changing media.src HOT 17
- Specify the task source for each task to be enqueued HOT 1
- [meta] Publish Proposed Recommendation HOT 2
- Allow adapting the bitrate to network/receiver constraints when using MSE
- Export terms HOT 2
- A
- render a dummy video/progress bar HOT 1
- example HOT 2
- check on the flag to activate the Remote Playback API on desktop 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 remote-playback.