Changes

Jump to: navigation, search

WebAPI/TVAPI

905 bytes added, 09:57, 17 March 2015
Features: Update features and extended TV use cases.
* The web content is able to receive the information of Electronic Program Guide (EPG) as well as the dynamic updates provided by broadcasters/service providers.
* A TV program may have multiple video/audio tracks in the same broadcasting stream.
* The web content may realize some flexible applications by manipulating flexibly manipulate multiple tuners. For example, it may only consume one tuner for watching and recording a given channel at the same time. Yet when it comes to switch to another channel to watch, in order not to affect the original recording task against the tuner, the app may take another tunerto do so, if resource permitted, to do so.
=== Stream Streaming management ===
* The web content may play the broadcasting stream content while browsing through the list of other currently broadcasted programs.
* The web content is able to suffice the scenarios of concurrently displaying multiple streams (i.e. Picture-in-Picture).
* This API utilizes [http://www.w3.org/TR/mediacapture-streams/#mediastream MediaStream] interface in [http://www.w3.org/TR/mediacapture-streams/ Media Capture and Streams API] , which contains video and audio tracks, for streaming management. And the streaming content can be played with HTML5 ''<video>'' element by assigning the media stream to [http://www.w3.org/TR/mediacapture-streams/#direct-assignment-to-media-elements HTMLMediaElement].
=== Emergency alert ===
* The web content can receive emergency announcements for earthquake, tsunami, fire, etc.
=== Extended TV use cases ===* For To support recording, this API may be allied with [http://www.w3.org/TR/mediastream-recording/#idl-def-MediaRecorder MediaRecorder] interface in [http://www.w3.org/TR/mediastream-recording/ MediaStream Recording API]. * For recording scheduling, the app may utilize [[WebAPI/DataStore | DataStore API]] (or some other storage mechanisms) as a centralized schedule pool and handle potential time conflicts between requests. It can also use TV Manager API to get the data of TV series and listen to possible updates if necessary. Besides, [[WebAPI/AlarmAPI | Alarm API]] may help schedule tasks. * If the app plans to support searching or other customized openrations on channel or EPG data, [[WebAPI/DataStore | DataStore API]] (or some other storage mechanisms) may be used to store the correspondent data. Even when the app is not running, System App or a service worker may help listen to EPG updates and reflect the change to stored data. * For operations about configuration/settings, such as language selection on TV device, [[WebAPI/SettingsAPI | Settings API]] is the right way to do so.
== DOM API ==
Confirm
16
edits

Navigation menu