org.ocap.shared.media.LeavingLiveModeEvent Maven / Gradle / Ivy
package org.ocap.shared.media;
import javax.media.Controller;
import javax.media.ControllerEvent;
/**
* This event shall be generated during timeshift playback when the playback point
* departs from the head of the buffer (where the content is the same as the
* currently received content). Examples of this include the following;
*
* - Pause
*
- Forward play with rate < 1.0
*
- Rewind
*
- Playback jumps to a previous time
*
* LeavingLiveModeEvent is a ControllerEvent that is posted when the
* the controller is not playing back a live broadcast stream anymore.
* This event is sent to a registered ControllerListener in addition to
* any RateChangeEvent or MediaTimeSetEvent.
*/
public class LeavingLiveModeEvent extends ControllerEvent
{
/**
* Create a LeavingLiveModeEvent.
*
* @param from the controller that is generating the event.
*
*/
public LeavingLiveModeEvent(Controller from)
{
super(from);
}
}