-
Notifications
You must be signed in to change notification settings - Fork 3
CameraVideoAddedEvent
Ajša Terko edited this page Sep 22, 2023
·
2 revisions
Getter for the track
field.
-
VideoTrack
- Represents the local camera video track.
func onCameraVideoAddedEvent(_ cameraVideoAddedEvent: CameraVideoAddedEvent) {
let localVideoTrack = cameraVideoAddedEvent.track
if localVideoTrack != nil {
if let localView = self.localView {
localVideoTrack!.addRenderer(localView)
}
}
}