- The equivalent of specification's
media.load()
in Webkit isHTMLMediaElement::load()
and is located inSource/WebCore/html/HTMLMediaElement.cpp
. - When in specifications says about
discarding pending events and callbacks for the media element
, the Webkit callscancelPendingEventsAndCallbacks()
to perform these operations. It's located inSource/WebCore/html/HTMLMediaElement.cpp
. - The
networkState
in specification has four states:- NETWORK_EMPTY: The element has not yet been initialized. All attributes are in their initial states.
- NETWORK_IDLE: The element's resource selection algorithm is active and has selected a resource, but it is not actually using the network at this time.
- NETWORK_LOADING: The user agent is actively trying to download data.
- NETWORK_NO_SOURCE: The element's resource sele
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="wsd" wsd_style="vs2010"><pre> | |
# No errors on tslock or demux and dcr | |
title Sequence Diagram For Loading a DVB stream (No errors) | |
participant "Higher Layer (HTML page, JS)" as HigherLayer | |
participant "HTMLMediaElement" as MediaPlayer | |
participant "Video pipeline(Tuner, Demod, Demux, Decoder)" as VideoPipeline | |
note right of MediaPlayer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="wsd" wsd_style="vs2010"><pre> | |
# Error on tslock or in URL | |
title Sequence Diagram For Loading a DVB stream (Error on tslock) | |
participant "Higher Layer (HTML page, JS)" as HigherLayer | |
participant "HTMLMediaElement" as MediaPlayer | |
participant "Video pipeline(Tuner, Demod, Demux, Decoder)" as VideoPipeline | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="wsd" wsd_style="vs2010"><pre> | |
# Error on demux or dcr | |
title Sequence Diagram For Loading a DVB stream (Error on demux or dcr) | |
participant "Higher Layer (HTML page, JS)" as HigherLayer | |
participant "HTMLMediaElement" as MediaPlayer | |
participant "Video pipeline(Tuner, Demod, Demux, Decoder)" as VideoPipeline | |
note right of MediaPlayer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="wsd" wsd_style="vs2010"><pre> | |
# No errors on demux and dcr | |
title Sequence Diagram For Playback a DVB stream (No errors) | |
participant "Higher Layer (HTML page, JS)" as HigherLayer | |
participant "HTMLMediaElement" as MediaPlayer | |
participant "Video pipeline(Tuner, Demod, Demux, Decoder)" as VideoPipeline | |
note right of MediaPlayer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="wsd" wsd_style="vs2010"><pre> | |
# Error on demux or dcr | |
title Sequence Diagram For Playback a DVB stream (Error on demux or dcr) | |
participant "Higher Layer (HTML page, JS)" as HigherLayer | |
participant "HTMLMediaElement" as MediaPlayer | |
participant "Video pipeline(Tuner, Demod, Demux, Decoder)" as VideoPipeline | |
HigherLayer->MediaPlayer: play() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="wsd" wsd_style="vs2010"><pre> | |
# No errors on demux and dcr | |
title Sequence Diagram For Loading an HLS stream (No errors and use of MPEG2TS containers) | |
participant "Higher Layer (HTML page, JS)" as HigherLayer | |
participant "HTMLMediaElement" as MediaPlayer | |
participant "Video pipeline(Remote server, Demux, Decoder)" as VideoPipeline | |
note right of MediaPlayer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="wsd" wsd_style="vs2010"><pre> | |
# Errors fetching data from remote server | |
title Sequence Diagram For Loading an HLS stream (Error fetching data from remote server) | |
participant "Higher Layer (HTML page, JS)" as HigherLayer | |
participant "HTMLMediaElement" as MediaPlayer | |
participant "Video pipeline(Remote server, Demux, Decoder)" as VideoPipeline | |
note right of MediaPlayer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="wsd" wsd_style="vs2010"><pre> | |
# Errors connecting to remote server | |
title Sequence Diagram For Loading an HLS stream (Error connecting to remote server) | |
participant "Higher Layer (HTML page, JS)" as HigherLayer | |
participant "HTMLMediaElement" as MediaPlayer | |
participant "Video pipeline(Remote server, Demux, Decoder)" as VideoPipeline | |
note right of MediaPlayer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="wsd" wsd_style="vs2010"><pre> | |
# Error decoding data | |
title Sequence Diagram For Loading an HLS stream (Error decoding data) | |
participant "Higher Layer (HTML page, JS)" as HigherLayer | |
participant "HTMLMediaElement" as MediaPlayer | |
participant "Video pipeline(Remote server, Demux, Decoder)" as VideoPipeline | |
note right of MediaPlayer |
OlderNewer