cn.tee3.avd_SDK-C++  2.1.0
mlivecast.h
浏览该文件的文档.
1 #ifndef RT_IMLivecast_H_
2 #define RT_IMLivecast_H_
3 
4 #include "common.h"
5 #include "room.h"
6 
7 namespace tee3 {
8  namespace avd {
9 
11  public:
12  class IListener {
13  public:
14  virtual void onLivecastStatus(LivecastStatus status) = 0;
15  protected:
16  virtual ~IListener() {}
17  };
18  public:
19 // static IMLivecast* getLivecast(IRoom* room);
20  virtual Result setListener(IListener* listener) = 0;
21  virtual Result startPublish(const String& url) = 0;
22  virtual Result stopPublish() = 0;
23  // 自动布局合屏窗口,设置布局参数
24 
25  // 手动布局合屏窗口
26  protected:
27  virtual ~IMLivecast() {}
28  };
29 
30  } // namespace avd
31 } // namespace tee3
32 #endif//RT_IMLivecast_H_
int Result
返回值类型
Definition: combase.h:9
virtual ~IMLivecast()
Definition: mlivecast.h:27
#define RT_API_EXPORT
Definition: defines.h:186
std::string String
tee3定义的String类型
Definition: common.h:10
Definition: mlivecast.h:10
LivecastStatus
客户端直播状态定义
Definition: combase.h:479
Definition: audiocapture.h:5
Definition: mlivecast.h:12
virtual ~IListener()
Definition: mlivecast.h:16