Skip to content

Commit

Permalink
refactor(flat-stores): all use broadcast mode (#2110)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrious authored Jan 24, 2024
1 parent a9b4c09 commit 8215c32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions packages/flat-stores/src/classroom-store/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1443,10 +1443,7 @@ export class ClassroomStore {
roomUUID: this.roomUUID,
uid: String(globalStore.rtcUID),
token: globalStore.rtcToken,
mode:
this.roomInfo?.roomType === RoomType.BigClass
? IServiceVideoChatMode.Broadcast
: IServiceVideoChatMode.Communication,
mode: IServiceVideoChatMode.Broadcast,
role:
this.isCreator ||
(globalStore.userUUID && this.onStageUsersStorage?.state[globalStore.userUUID])
Expand Down
2 changes: 1 addition & 1 deletion service-providers/agora-cloud-recording/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const BIG_CLASS_RECORDING_CONFIG: RecordingConfig = {
};

export const SMALL_CLASS_RECORDING_CONFIG: RecordingConfig = {
channelType: AgoraCloudRecordingChannelType.Communication,
channelType: AgoraCloudRecordingChannelType.Broadcast,
transcodingConfig: {
width: AVATAR_BAR_WIDTH,
height: AVATAR_HEIGHT,
Expand Down

0 comments on commit 8215c32

Please sign in to comment.