Class CameraMediaSourceConfiguration

    • Method Detail

      • getCameraId

        public String getCameraId()
        Returns the ID of the camera
        Returns:
        ID of the camera
      • getCameraFacing

        public int getCameraFacing()
        Gets the camera facing front or back.
        Returns:
        camera facing front or back.
      • getCameraOrientation

        public int getCameraOrientation()
        Gets the orientation of the camera in degrees.
        Returns:
        orientation of the camera in degrees.
      • getHorizontalResolution

        public int getHorizontalResolution()
        Gets the horizontal resolution.
        Returns:
        horizontal resolution
      • getVerticalResolution

        public int getVerticalResolution()
        Gets the vertical resolution.
        Returns:
        vertical resolution
      • getOutputFileName

        public String getOutputFileName()
        Gets the output file name.
        Returns:
        Output file name
      • getFrameRate

        public int getFrameRate()
        Gets the frame rate of the camera.
        Returns:
        Frame rate
      • getRetentionPeriodInHours

        public int getRetentionPeriodInHours()
        Gets the retention period in hours
        Returns:
        Retention period in hours
      • getBitRate

        public int getBitRate()
        Gets the encoding bitrate.
        Returns:
        bit rate.
      • getEncoderMimeType

        @Nonnull
        public String getEncoderMimeType()
        Gets the encoder mime type.
        Returns:
        encoder mime type
      • getGopDurationMillis

        public int getGopDurationMillis()
        Gets the GOP (group-of-pictures) duration in milliseconds.
        Returns:
        GOP duration
      • isEndcoderHardwareAccelerated

        public boolean isEndcoderHardwareAccelerated()
        Whether the encoder is hardware accelerated.
        Returns:
        true if encoder is hardware accelerated. false otherwise
      • getCodecPrivateData

        @Nullable
        public byte[] getCodecPrivateData()
        Gets the codec private data.
        Returns:
        Codec private data
      • getTimeScale

        public long getTimeScale()
        Gets the timescale
        Returns:
        timescale
      • getIsAbsoluteTimecode

        public boolean getIsAbsoluteTimecode()
        Get if timecode is absolute or not
        Returns:
        true if absolute. false otherwise.