3.2.5.1 END_OF_MEDIA

When the host gets this event, it stops the playback and resets the stream position. Upon a query for the current position, the host returns the full duration of the media. It does the following depending on the host's current state:

  1. If the host receives this event while closing the player, the host ignores the end-of-stream (EOS).

  2. If host receives this event while rewinding to the beginning of the stream, then it suppresses this call and starts playing with regular 1x playback again.

  3. If it is end of media in the middle of the playlist, then it continues to play the next item; else it stops the playback.