rtc.avd_SDK-C++  3.2.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 rtc {
8 
10  public:
11  class IListener {
12  public:
13  virtual void onLivecastStatus(LivecastStatus status) = 0;
14  protected:
15  virtual ~IListener() {}
16  };
17  public:
18  // static IMLivecast* getLivecast(IRoom* room);
19  virtual Result setListener(IListener* listener) = 0;
20  virtual Result startPublish(const String& url) = 0;
21  virtual Result stopPublish() = 0;
22  // 自动布局合屏窗口,设置布局参数
23 
24  // 手动布局合屏窗口
25  protected:
26  virtual ~IMLivecast() {}
27  };
28 
29 } // namespace rtc
30 #endif//RT_IMLivecast_H_
Definition: annotationobject.h:71
virtual ~IMLivecast()
Definition: mlivecast.h:26
Definition: mlivecast.h:9
int Result
返回值类型
Definition: combase.h:13
#define RT_API_EXPORT
Definition: defines.h:216
std::string String
定义的String类型
Definition: common.h:10
LivecastStatus
客户端直播状态定义
Definition: combase.h:540
virtual ~IListener()
Definition: mlivecast.h:15
Definition: mlivecast.h:11