This message was deleted.
# helpdesk
s
This message was deleted.
👋 1
m
w
@magnificent-art-43333 Thank you for answer. It was not obvious for me how to get to this class, but now it’s made with the way of attempts and mistakes: func switchCameraPosition() { guard let localParticipant = localParticipant, let videoTrack = localParticipant.videoTracks.first?.track as? LocalVideoTrack, let capturer = videoTrack.capturer as? CameraCapturer else { return } capturer.switchCameraPosition() .then({ result in pl(“switch camera position result: \(result)“) }) .catch({ error in pl(“switch cameraPosition error: \n\(error)“) }) } maybe it will be helpful for someone else.
b
Looks correct! I agree it's not so developer friendly. I will consider adding helper methods.