cn.3tee.avd_SDK-C  3.2.0
rtspclient_c.h
浏览该文件的文档.
1 #ifndef RT_RtspClient_C_H_
2 #define RT_RtspClient_C_H_
3 
4 #include "common_c.h"
5 
7 extern "C" {
21  RT_API_EXPORT Result avd_rtspclient_create(AVDHandle& clientHandle);
22 
28  RT_API_EXPORT void avd_rtspclient_destroy(AVDHandle clientHandle);
29 
38  RT_API_EXPORT Result avd_rtspclient_start(AVDHandle clientHandle, const char* uri, const char* username = "", const char* password = "");
44  RT_API_EXPORT Result avd_rtspclient_stop(AVDHandle clientHandle);
45 
46 
53  RT_API_EXPORT Result avd_rtspclient_setRender(AVDHandle clientHandle, AVDHandle renderHandle);
54 
64  RT_API_EXPORT Result avd_rtspclient_setVideoCapture(AVDHandle clientHandle, AVDHandle capture);
74  RT_API_EXPORT Result avd_rtspclient_setAudioCapture(AVDHandle clientHandle, AVDHandle capture);
75 
76 }
77 
78 #endif//RT_RtspClient_C_H_
RT_API_EXPORT Result avd_rtspclient_setVideoCapture(AVDHandle clientHandle, AVDHandle capture)
设置模拟视频采集接口指针
RT_API_EXPORT Result avd_rtspclient_stop(AVDHandle clientHandle)
停止接收流
RT_API_EXPORT void avd_rtspclient_destroy(AVDHandle clientHandle)
销毁一个Rtsp客户端
RT_API_EXPORT Result avd_rtspclient_setAudioCapture(AVDHandle clientHandle, AVDHandle capture)
设置模拟音频采集接口指针
RT_API_EXPORT Result avd_rtspclient_setRender(AVDHandle clientHandle, AVDHandle renderHandle)
设置渲染接口指针
RT_API_EXPORT Result avd_rtspclient_create(AVDHandle &clientHandle)
rtsp客户端管理接口,.
RT_API_EXPORT Result avd_rtspclient_start(AVDHandle clientHandle, const char *uri, const char *username="", const char *password="")
开始接收流