AgoraIO-Community / VideoUIKit-ReactNative

A React Native package to simply integrate Agora Video Calling or Live Video Streaming to your app with just a few lines of code.
MIT License
93 stars 43 forks source link

layout is not changing. #134

Closed rahulnainwalttn closed 1 year ago

rahulnainwalttn commented 1 year ago

Target device: (Note: simulators are not supported for running the UIKit)

App Info "agora-react-native-rtm": "^1.5.1", "agora-rn-uikit": "^5.0.1", "react": "17.0.2", "react-native": "0.67.5", "react-native-agora": "^4.2.0"

Describe the issue Trying to change layout to grid

To Reproduce <AgoraUIKit connectionData={connectionData} rtcCallbacks={rtcCallbacks} rtcProps={{layout: Layout.Grid}} />

Screenshots If applicable, add screenshots to help explain your problem.

rahulnainwalttn commented 1 year ago

Working - <AgoraUIKit connectionData={connectionData} rtcCallbacks={rtcCallbacks} settings={{ layout: Layout.Grid, activeSpeaker: true, disableRtm: false, displayUsername: true, dual: true, enableMediaOnHost: true, mode: ChannelProfileType.ChannelProfileCommunication1v1, profile: '720p_6', role: ClientRoleType.ClientRoleBroadcaster, showPopUpBeforeRemoteMute: true, }} />