public static interface PlaySession.IListener
IListener
- listener.Modifier and Type | Method and Description |
---|---|
void |
onMediaEnd(MediaTrackInfo track)
Notifies about media
track end. |
void |
onMediaTimeout(MediaTrackInfo track,
int timeout)
Notifies about media
track timeout. |
void |
onPacketLoss(MediaTrackInfo track,
long lost,
long total,
int margin)
Notifies about RTP packet loss.
|
void onMediaTimeout(MediaTrackInfo track, int timeout)
track
timeout.track
- timeout
- timeout (in milliseconds)void onMediaEnd(MediaTrackInfo track)
track
end.track
- void onPacketLoss(MediaTrackInfo track, long lost, long total, int margin)
track
- lost
- total number of lost RTP packetstotal
- total number of received RTP packetsmargin
- current jitter buffer margin value