Skip to content

Commit

Permalink
chore: adjust virtualBackground case
Browse files Browse the repository at this point in the history
  • Loading branch information
guoxianzhe committed Dec 17, 2024
1 parent 2ce0107 commit 705c053
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {
ChannelProfileType,
ClientRoleType,
IRtcEngineEventHandler,
RenderModeType,
VideoModulePosition,
VideoSourceType,
createAgoraRtcEngine,
Expand Down Expand Up @@ -191,6 +192,7 @@ export default class VirtualBackground
? this.renderUser({
position: video_module_position,
sourceType: VideoSourceType.VideoSourceCamera,
renderMode: RenderModeType.RenderModeFit,
})
: undefined}
{!!startPreview || joinChannelSuccess ? (
Expand Down

0 comments on commit 705c053

Please sign in to comment.