INNER CODE UNIT · TypeScript

EncodedVideoFrameInfo

AgoraIO-Extensions/react-native-agora · src/AgoraBase.ts:1244

export class EncodedVideoFrameInfo {
  /**
   * Video codec type. See VideoCodecType. Default value is VideoCodecH264 (2).
   */
  codecType?: VideoCodecType;
  /**
   * Width of the video frame (px).
   */
  width?: number;
  /**
   * Height of the video frame (px).
   */
  height?: number;
  /**
   * Frames per second.
   * When this parameter is not 0, you can use it to calculate the Unix timestamp of the externally encoded video frame.
   */
  framesPerSecond?: number;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…