ReplaceItemResponse

Tell NewPlayer with which item the currently failing item should be replaced with. NewPlayer will continue to playback the new item at the position the last item failed. The mew item will also be inserted in the same playlist position as the failing item was.

This can also be used to just reload the currently failing item. Just supply the same item as the currently failing item. NewPlayer will call the repository and ask for new streams for that item. This can be used if stream urls get deprecated due to a timeout.

If you don't want the whole item to be replaced/reloaded you should instead respond with a ReplaceStreamSelectionResponse.

Constructors

Link copied to clipboard
constructor(newItem: String)

Properties

Link copied to clipboard