1 #ifndef RT_ILivecast_H_
2 #define RT_ILivecast_H_
44 virtual void onStreamlast3Stats(
int videofps,
int avbps) = 0;
50 virtual void onError(
Result error,
const String& message) = 0;
61 static const RoomId& getLivecastId();
70 static void release();
78 virtual Result init(IListener* listener) = 0;
82 virtual Result uninit() = 0;
129 virtual Result startPreview() = 0;
133 virtual Result stopPreview() = 0;
137 virtual Result switchCamera() = 0;
142 virtual bool isMicrophoneMute()
const = 0;
146 virtual Result muteMicrophone() = 0;
150 virtual Result unmuteMicrophone() = 0;
159 virtual Result captureImage(
const String& fileName,
int quality) = 0;
166 virtual Result shareScreen(
bool isOn) = 0;
178 virtual Result unpublish() = 0;
199 virtual bool isInRoom()
const = 0;
214 virtual Result detachRoom() = 0;
222 #endif//RT_ILivecast_H_
NAMESPACE_TEE3_BEGIN typedef std::string String
Definition: common.h:10
Definition: audiocapture.h:12
Definition: livecast.h:18
Definition: videocapture.h:15
int Result
Definition: combase.h:13
#define RT_API_EXPORT
Definition: defines.h:188
virtual ~IListener()
Definition: livecast.h:52
Definition: easyroom.h:21
Definition: videorender.h:85
LivecastStatus
Definition: combase.h:514
String RoomId
Definition: common.h:11
ConnectionStatus
Definition: combase.h:230
Definition: audiocapture.h:5
virtual ~ILivecast()
Definition: livecast.h:217
RoomOption
Definition: combase.h:423
Definition: livecast.h:25