Update Canvas IDs new default way is:
ForEach(Array(agoraManager.allUsers), id: \.self) { uid in
AgoraVideoCanvasView(manager: agoraManager, canvasId: .userId(uid))
.aspectRatio(contentMode: .fit).cornerRadius(10)
}
This enables joinChannelEx video views as well as media source inputs:
canvasId: .userIdEx(uid, rtcConnection)
canvasId: .mediaSource(.mediaPlayer, mediaPlayerId: mediaPlayer.getMediaPlayerId())