Ticket #109 (closed Bug: Fixed)

Opened 5 years ago

Last modified 5 years ago

SimplePlaylistController setRepeat and setRandom not working

Reported by: jwamicha Owned by: steven
Priority: Major Component: Streaming and Networking
Version: 0.8 RC2 Keywords:
Cc:

Description

When serverStream.setRepeat(true) or serverStream.setRandom(true) is used nothing happens.
This patch for SimplePlaylistController implements setRepeat and setRandom for the playlist.
However, setRandom is overridden by setRepeat of both are set to true.
Also, setRandom will always play the first item in the playlist first, before going random after that. The last playlist item will never repeat twice in sequence.
To apply patch, if SimplePlaylistController.diff is in the directory /src/org/red5/server/stream, then navigate into /src/org/red5/server/stream and apply as follows:

patch -p1 < SimplePlaylistController.diff

Attachments

SimplePlaylistController.2.diff Download (2.7 KB) - added by jwamicha 3 years ago.

Change History

Changed 5 years ago by jwamicha

To apply patch, if SimplePlaylistController.diff is in the directory /src/org/red5/server/stream, then navigate into /src/org/red5/server/stream and apply as follows:

patch -p1 < SimplePlaylistController.diff

Changed 5 years ago by steven

Fixed on r1753

Changed 3 years ago by jwamicha

Note: See TracTickets for help on using tickets.