Peter: You can check remote.state or whatever. … With Airplay, you know when remote playback is active, whether you requested it or not. … Remoting may happen today without the application knowing it? … "Do you know that sometimes you call appendBuffer it won't go to the buffer?" … How can we expect people to be sophisticated enough to use the existing API? Peter: I assume that when applications call appendBuffer, things go to the buffer directly. Mfoltzgoogle: If we can model that in a way that complies with the MSE API, that would be good. … I agree we should add something to the protocol.Įricc: The application may not even know that it is remoting. Peter: I'm not sure we're going to expose that at the API level. Mounir: Why not exposing the buffer size? … we don't hit the problem of buffer running out of space in the mirroring case in practice. Mfoltzgoogle: We don't have these features implemented in our current implementation. Peter: If part of the solution of the first problem is to cause the sender not to send as much data, then from a JavaScript perspective, it looks like the two problems are the same.Īnssik: Wondering how AirPlay and other implementations handle this situation.Įricc: It's different because it doesn't load the data on the sender, unless you're doing screen scraping, where I don't know how that works. Takumif: To know whether the buffer is full, we need some info at the protocol level. … "remotingBufferState" attribute that tells whether it has enough data or too much data. … Alternatively, I thought about adding a new state attribute to the remote playback object. That is, we can synchronize the buffered state and readyState state on the two devices, so that the controller knows that this happens. For the bandwidth issue, we can use the MediaElement.buffered and readyState attributes. … If the controller knows that the receiver buffer is small, it can limit the transmission to the receiver. … Two ways to solve these: new API, or use exiting API, also solve at the protocol level. … Or if the bandwidth is smaller than the media the controller is pushing onto the buffer. Takumif: There are some conditions under which the media playback on the receiver side may not be smooth, for instance if the buffer on the receiver is too small and the controller keeps pushing. See Remote buffer state for Remote Playback + MSE (PDF, p83-86) Remote buffer state for Remote Playback + MSE … We should wrapup at noon, as I have a hard stop. … A bit of planning at the end as we need to recharter by the end of this year. … Starting the day with new API features for Remote Playback API. Recent additions to day 2 are around accessibility and display enumerations and positioning. The set of slides (PDF) presented throughout the dayĪnssi: We covered all day 1 topics yesterday.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |