Last active
December 16, 2015 14:59
-
-
Save svagionitis/5453139 to your computer and use it in GitHub Desktop.
Sequence Diagram For Pause an HLS stream (No errors) for http://www.websequencediagrams.com/
This file contains hidden or 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 | |
title Sequence Diagram For Pause an HLS stream (No errors) | |
participant "Higher Layer (HTML page, JS)" as HigherLayer | |
participant "HTMLMediaElement" as MediaPlayer | |
participant "Video pipeline(Remote Server, Demux, Decoder)" as VideoPipeline | |
MediaPlayer->HigherLayer: play | |
MediaPlayer->HigherLayer: playing | |
note right of MediaPlayer | |
networkState: NETWORK_IDLE | |
readyState: HAVE_ENOUGH_DATA | |
end note | |
HigherLayer->MediaPlayer: pause() | |
MediaPlayer->VideoPipeline: Pause and send the current playback position. | |
note right of MediaPlayer | |
paused: true | |
end note | |
note right of VideoPipeline | |
The dcr pauses and gets the current playback position. | |
end note | |
VideoPipeline->MediaPlayer: The current playback position is returned. | |
MediaPlayer->HigherLayer: timeupdate | |
MediaPlayer->HigherLayer: pause | |
</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