public class StateMonitor
extends java.lang.Object
implements java.lang.Runnable
| Modifier and Type | Class and Description |
|---|---|
static interface |
StateMonitor.DecoderType |
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
mCurrentDecoderType |
int |
mCurrentFps |
int |
mCurrentHeight |
int |
mCurrentWidth |
| Constructor and Description |
|---|
StateMonitor() |
| Modifier and Type | Method and Description |
|---|---|
void |
deInit() |
void |
init() |
static StateMonitor |
instance() |
void |
NotifyAddView(long streamId,
int VideoIndex,
VideoConstant.ViewType type,
java.lang.String name) |
static void |
NotifyBiteRateInfo(long streamId,
int bitRate) |
static void |
NotifyBlueRayInfo(long streamId,
int isBlueRay) |
static void |
NotifyClearPts(long streamId) |
static void |
NotifyCreateDecoder(long streamId,
int type,
long curTime)
Called by JNI Layer, DO NOT MODIFY THE NAME!
|
static void |
NotifyCreateRender(long streamId,
int type) |
void |
NotifyDecodeDelayFrameCountInfo(long streamId,
int count) |
static void |
NotifyDecodeException(java.lang.String exceptionType) |
static void |
NotifyDecoderFrameRate(long streamId,
int frameRateI,
int frameRateO) |
static void |
NotifyDecoderFrameRateOUT(long streamId,
int frameRate) |
static void |
NotifyDecodeTime(long time) |
static void |
NotifyFirstFrameArrived(long streamid,
long curTime) |
static void |
NotifyFirstFrameRendered(long streamId,
long firstRenderTime) |
static void |
NotifyIsSvcData() |
static void |
NotifyLastFrameNotRenderStatistic(long streamId,
int count) |
static void |
NotifyMultiVideoOriginPosition(VideoPosition[] params,
VideoPosition background) |
static void |
NotifyMultiVideoSurfaceChangePosition(VideoPosition[] params,
VideoPosition background) |
static void |
NotifyPts(long streamId,
long pts) |
static void |
NotifyReleaseDecoder(long streamId) |
static void |
NotifyReleaseRender(long streamId) |
void |
NotifyRemoveView(long streamId) |
void |
NotifyRenderFrameRate(long streamId,
int frameRate) |
static void |
NotifyRenderLostRate(long streamId,
float frameRate) |
static void |
NotifyResolution(long streamId,
int width,
int height) |
static void |
NotifyVideoPlayerBitrate(long streamId,
int bitrate) |
static void |
NotifyVideoStreamEnd(long streamId) |
static void |
NotifyVideoStreamStart(long streamId,
long groupId,
int micPos,
int fps,
int bhard,
int vType) |
void |
run() |
public int mCurrentFps
public java.lang.String mCurrentDecoderType
public int mCurrentWidth
public int mCurrentHeight
public static void NotifyCreateDecoder(long streamId,
int type,
long curTime)
public static void NotifyReleaseDecoder(long streamId)
public static void NotifyVideoStreamStart(long streamId,
long groupId,
int micPos,
int fps,
int bhard,
int vType)
public static void NotifyVideoStreamEnd(long streamId)
public static void NotifyCreateRender(long streamId,
int type)
public static void NotifyReleaseRender(long streamId)
public static void NotifyDecoderFrameRate(long streamId,
int frameRateI,
int frameRateO)
public static void NotifyDecoderFrameRateOUT(long streamId,
int frameRate)
public static void NotifyPts(long streamId,
long pts)
public static void NotifyClearPts(long streamId)
public static void NotifyFirstFrameArrived(long streamid,
long curTime)
public static void NotifyFirstFrameRendered(long streamId,
long firstRenderTime)
public void NotifyRenderFrameRate(long streamId,
int frameRate)
public static void NotifyResolution(long streamId,
int width,
int height)
public static void NotifyDecodeTime(long time)
public static void NotifyIsSvcData()
public static void NotifyVideoPlayerBitrate(long streamId,
int bitrate)
public static void NotifyDecodeException(java.lang.String exceptionType)
public static void NotifyRenderLostRate(long streamId,
float frameRate)
public static void NotifyBlueRayInfo(long streamId,
int isBlueRay)
public static void NotifyBiteRateInfo(long streamId,
int bitRate)
public void NotifyDecodeDelayFrameCountInfo(long streamId,
int count)
public static void NotifyMultiVideoOriginPosition(VideoPosition[] params, VideoPosition background)
public static void NotifyMultiVideoSurfaceChangePosition(VideoPosition[] params, VideoPosition background)
public static StateMonitor instance()
public static void NotifyLastFrameNotRenderStatistic(long streamId,
int count)
public void init()
public void deInit()
public void run()
run in interface java.lang.Runnablepublic void NotifyAddView(long streamId,
int VideoIndex,
VideoConstant.ViewType type,
java.lang.String name)
public void NotifyRemoveView(long streamId)