feat: add upload logs func (#4)

This commit is contained in:
Kevin Lee
2024-07-30 16:32:21 +08:00
committed by GitHub
parent 5601f935f0
commit b6123fc0f5
7 changed files with 45 additions and 5 deletions

View File

@@ -70,6 +70,7 @@ export enum NativeEvent {
ROOM_PARTICIPANT_DISCONNECTED,
STREAM_CHANGE,
RECEIVE_CUSTOM_SIGNAL,
ON_PROGRESS,
}
export const eventMapping: Record<NativeEvent, CbEvents> = {
@@ -150,4 +151,5 @@ export const eventMapping: Record<NativeEvent, CbEvents> = {
CbEvents.OnRoomParticipantDisconnected,
[NativeEvent.STREAM_CHANGE]: CbEvents.OnStreamChange,
[NativeEvent.RECEIVE_CUSTOM_SIGNAL]: CbEvents.OnReceiveCustomSignal,
[NativeEvent.ON_PROGRESS]: CbEvents.OnUploadLogsProgress,
};