C++SDK  1.0.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  // Զֺڣòֲ // ֶֺ protected: virtual ~IMLivecast() {} }; } // namespace avd } // namespace tee3 #endif//RT_IMLivecast_H_
24 
25  // ֶֺ protected: virtual ~IMLivecast() {} }; } // namespace avd } // namespace tee3 #endif//RT_IMLivecast_H_
26  protected:
27  virtual ~IMLivecast() {}
28  };
29 
30  } // namespace avd
31 } // namespace tee3
32 #endif//RT_IMLivecast_H_
NAMESPACE_TEE3_BEGIN typedef std::string String
Definition: common.h:10
virtual ~IListener()
Definition: mlivecast.h:16
int Result
Definition: combase.h:13
virtual ~IMLivecast()
Definition: mlivecast.h:27
#define RT_API_EXPORT
Definition: defines.h:188
Definition: mlivecast.h:10
Definition: mlivecast.h:12
LivecastStatus
Definition: combase.h:514
Definition: audiocapture.h:5