-
Notifications
You must be signed in to change notification settings - Fork 4
/
CustomizedUIRecordMgr.h
58 lines (46 loc) · 1.98 KB
/
CustomizedUIRecordMgr.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#pragma once
#include "stdafx.h"
#include "sdk_util.h"
//added for raw data access, Audio
#include "RawAudioDelegate.h"
//added for raw data access, Video
#include "RawVideoDelegate.h"
class CustomizedUIRecordMgr :
public ZOOM_SDK_NAMESPACE::IMeetingRecordingCtrlEvent
{
public:
static CustomizedUIRecordMgr* GetInstance();
void GetRecordController();
bool StartRecording(time_t& startTimestamp);
bool StopRecording(time_t& stopTimestamp);
bool StartCloudRecording();
bool StopCloudRecording();
bool CanTheUserStartLocalRecording(unsigned int userid);
bool CanTheUserStartCloudRecording(unsigned int userid);
bool CanIStartLocalRecording();
bool CanIStartCloudRecording();
bool CanIChangeOthersRecordingPermission();
bool DoesTheUserSupportLocalRecording(unsigned int userid);
bool AllowLocalRecording(unsigned int userid);
bool DisAllowLocalRecording(unsigned int userid);
virtual void onRecording2MP4Done(bool bsuccess, int iResult, const wchar_t* szPath);
virtual void onRecording2MP4Processing(int iPercentage);
virtual void onRecordingStatus(ZOOM_SDK_NAMESPACE::RecordingStatus status);
virtual void onCloudRecordingStatus(ZOOM_SDK_NAMESPACE::RecordingStatus status);
virtual void onRecordPrivilegeChanged(bool bCanRec);
virtual void onCustomizedLocalRecordingSourceNotification(ZOOM_SDK_NAMESPACE::ICustomizedLocalRecordingLayoutHelper* layout_helper);
virtual void onLocalRecordingPrivilegeRequestStatus(ZOOM_SDK_NAMESPACE::RequestLocalRecordingStatus status) {}
virtual void onLocalRecordingPrivilegeRequested(ZOOM_SDK_NAMESPACE::IRequestLocalRecordingPrivilegeHandler* handler) {}
private:
CustomizedUIRecordMgr();
~CustomizedUIRecordMgr();
private:
static CustomizedUIRecordMgr* s_recordMgrObj;
time_t m_rcdStartTime;
ZOOM_SDK_NAMESPACE::IMeetingRecordingController* m_pRecordController;
//added for raw data access, Audio
RawAudioDelegate* rawAudioDelegate;
//added for raw data access, Video
RawVideoDelegate* rawVideoDelegate;
IZoomSDKRenderer* videoRenderer;
};