Skip to content

Commit

Permalink
docs: Update arch.md (#1459)
Browse files Browse the repository at this point in the history
  • Loading branch information
gkatsev authored Dec 1, 2023
1 parent a5579b0 commit a891580
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/arch.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ This project has three primary duties:
1. Feed content bits to a SourceBuffer by downloading and transmuxing video segments

### Playlist Management
The [playlist loader](../src/playlist-loader.js) handles all of the details of requesting, parsing, updating, and switching playlists at runtime. It's operation is described by this state diagram:
The [playlist loader](playlist-loader.md) ([source](../src/playlist-loader.js)) handles all of the details of requesting, parsing, updating, and switching playlists at runtime. It's operation is described by this state diagram:

![Playlist Loader States](images/playlist-loader-states.png)
![Playlist Loader States](images/playlist-loader-states.nomnoml.svg)

During VOD playback, the loader will move quickly to the HAVE_METADATA state and then stay there unless a quality switch request sends it to SWITCHING_MEDIA while it fetches an alternate playlist. The loader enters the HAVE_CURRENT_METADATA when a live stream is detected and it's time to refresh the current media playlist to find out about new video segments.

Expand Down

0 comments on commit a891580

Please sign in to comment.