Last active
December 16, 2015 13:59
-
-
Save svagionitis/5445307 to your computer and use it in GitHub Desktop.
Sequence Diagram For Loading an HLS stream (Error connecting to remote server) for http://www.websequencediagrams.com/
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 | |
networkState: NETWORK_EMPTY | |
readyState: HAVE_NOTHING | |
end note | |
HigherLayer->MediaPlayer: load() | |
note right of MediaPlayer | |
networkState: NETWORK_NO_SOURCE | |
end note | |
MediaPlayer->VideoPipeline: Can you fetch the media data from the remote server? | |
note right of MediaPlayer | |
networkState: NETWORK_LOADING | |
end note | |
MediaPlayer->HigherLayer: loadstart | |
note right of VideoPipeline | |
# For HLS specification see http://tools.ietf.org/html/draft-pantos-http-live-streaming-11 | |
1. Cannot connect to remote server because of the given URL cannot be resolved, or | |
2. The media resource failed to load. | |
end note | |
VideoPipeline->MediaPlayer: Error connecting to remote server. | |
note right of MediaPlayer | |
networkState: NETWORK_NO_SOURCE | |
error: MEDIA_ERR_SRC_NOT_SUPPORTED | |
end note | |
MediaPlayer->HigherLayer: error | |
</pre></div><script type="text/javascript" src="http://www.websequencediagrams.com/service.js"></script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment