VideoDecoderFallback

tee3.webrtc

## 类 VideoDecoderFallback

- java.lang.Object
- - tee3.webrtc.VideoDecoderFallback

- 所有已实现的接口:
    VideoDecoder

      public class VideoDecoderFallback
      extends java.lang.Object

  A combined video decoder that falls back on a secondary decoder if the primary decoder fails.

- - ### 嵌套类概要

    - ### 从接口继承的嵌套类/接口 tee3.webrtc.VideoDecoder

      `VideoDecoder.Callback, VideoDecoder.DecodeInfo, VideoDecoder.Settings`

  - ### 构造器概要

    构造器
    构造器和说明
    `VideoDecoderFallback(VideoDecoder fallback, VideoDecoder primary)`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `VideoCodecStatus` | `decode(EncodedImage frame, VideoDecoder.DecodeInfo info)` Request the decoder to decode a frame.
    `java.lang.String` | `getImplementationName()` Should return a descriptive name for the implementation.
    `boolean` | `getPrefersLateDecoding()` The decoder should return true if it prefers late decoding.
    `VideoCodecStatus` | `initDecode(VideoDecoder.Settings settings, VideoDecoder.Callback decodeCallback)` Initializes the decoding process with specified settings.
    `VideoCodecStatus` | `release()` Called when the decoder is no longer needed.

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### VideoDecoderFallback

          public VideoDecoderFallback(VideoDecoder fallback,
                                      VideoDecoder primary)

  - ### 方法详细资料

    - #### initDecode

          public VideoCodecStatus initDecode(VideoDecoder.Settings settings,
                                             VideoDecoder.Callback decodeCallback)

      从接口复制的说明: `VideoDecoder`
      Initializes the decoding process with specified settings. Will be called on the decoding thread before any decode calls.
      指定者:
        `initDecode` 在接口中 `VideoDecoder`

    - #### release

          public VideoCodecStatus release()

      从接口复制的说明: `VideoDecoder`
      Called when the decoder is no longer needed. Any more calls to decode will not be made.
      指定者:
        `release` 在接口中 `VideoDecoder`

    - #### decode

          public VideoCodecStatus decode(EncodedImage frame,
                                         VideoDecoder.DecodeInfo info)

      从接口复制的说明: `VideoDecoder`
      Request the decoder to decode a frame.
      指定者:
        `decode` 在接口中 `VideoDecoder`

    - #### getPrefersLateDecoding

          public boolean getPrefersLateDecoding()

      从接口复制的说明: `VideoDecoder`
      The decoder should return true if it prefers late decoding. That is, it can not decode infinite number of frames before the decoded frame is consumed.
      指定者:
        `getPrefersLateDecoding` 在接口中 `VideoDecoder`

    - #### getImplementationName

          public java.lang.String getImplementationName()

      从接口复制的说明: `VideoDecoder`
      Should return a descriptive name for the implementation. Gets called once and cached. May be called from arbitrary thread.
      指定者:
        `getImplementationName` 在接口中 `VideoDecoder`