public abstract class PlaySession
extends java.lang.Object
PlaySession
- RTSP/RTP play session base class.Modifier and Type | Class and Description |
---|---|
static interface |
PlaySession.IListener
IListener - listener. |
static class |
PlaySession.ListenerAdapter
ListenerAdapter - PlaySession.IListener adapter. |
Modifier and Type | Field and Description |
---|---|
protected PlaySession.IListener |
listener |
Constructor and Description |
---|
PlaySession()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
setJitterBufferMargin(MediaTrackInfo track,
int margin)
Sets jitter buffer margin for the
track . |
void |
setListener(PlaySession.IListener listener)
Sets the listener.
|
abstract void |
setMediaTimeout(MediaTrackInfo track,
int timeout)
Sets media data timeout for the
track . |
protected PlaySession.IListener listener
public void setListener(PlaySession.IListener listener)
listener
- public abstract void setJitterBufferMargin(MediaTrackInfo track, int margin)
track
.track
- margin
- public abstract void setMediaTimeout(MediaTrackInfo track, int timeout)
track
.track
- timeout
- timeout (in milliseconds)