public class NativeHelper
extends java.lang.Object
Constructor and Description |
---|
NativeHelper() |
Modifier and Type | Method and Description |
---|---|
void |
forcePause() |
void |
forceResume() |
int |
getBuffersInQueue() |
int |
getCurrentPosition(PlayingSegmentInfo info) |
long |
getLastPTS() |
boolean |
isPlaybackFinished() |
int |
processSegment(java.lang.String url,
byte[] data,
boolean isSeeking) |
void |
setLogPath(java.lang.String path) |
int |
startServer(int port,
long duration) |
int |
stopServer() |
public void setLogPath(java.lang.String path)
public int startServer(int port, long duration)
public int stopServer()
public int processSegment(java.lang.String url, byte[] data, boolean isSeeking)
public int getBuffersInQueue()
public int getCurrentPosition(PlayingSegmentInfo info)
public boolean isPlaybackFinished()
public void forcePause()
public void forceResume()
public long getLastPTS()