public interface IRTSPCam
限定符和类型 | 字段和说明 |
---|---|
static int |
RTSP_EVENT_CLOSE |
static int |
RTSP_EVENT_OPEN |
static int |
RTSP_EVENT_PLAY |
static int |
RTSP_EVENT_UPDATE_PARAM |
static int |
RTSP_RESULT_FAILED |
static int |
RTSP_RESULT_OK |
限定符和类型 | 方法和说明 |
---|---|
void |
close()
关闭rssp camera。
|
void |
open(String rtspUrl)
打开rtsp camera。
|
void |
play(boolean bUseAudio)
播放rtsp。
|
void |
setEventCallback(RTSPCamCallback cb)
设置回调
|
static final int RTSP_RESULT_OK
static final int RTSP_RESULT_FAILED
static final int RTSP_EVENT_OPEN
static final int RTSP_EVENT_CLOSE
static final int RTSP_EVENT_PLAY
static final int RTSP_EVENT_UPDATE_PARAM
void open(String rtspUrl)
rtspUrl
- urlvoid play(boolean bUseAudio)
bUseAudio
- 是否播放音频void close()
void setEventCallback(RTSPCamCallback cb)
cb
- 回调