Class LocalVideoCameraTrack

  • public class LocalVideoCameraTrack
    extends LocalTrack
    Represents local video streams sourced from cameras Camera switching is performed here
    • Method Detail

      • setCamera

        public void setCamera​(java.lang.String cameraName)
        Switch the camera to the one with the given name You can use either the libwebrtc CameraEnumerator types or the Camera APIs to find your camera. This works while the stream is running. Today you can only have one camera active at a time.
        cameraName -