Package tvi.webrtc
Interface VideoEncoderFactory.VideoEncoderSelector
- Enclosing interface:
- VideoEncoderFactory
public static interface VideoEncoderFactory.VideoEncoderSelector
-
Method Summary
Modifier and TypeMethodDescriptiononAvailableBitrate
(int kbps) Called with the current available bitrate.void
Called with the VideoCodecInfo of the currently used encoder.Called when the currently used encoder signal itself as broken.default VideoCodecInfo
onResolutionChange
(int widht, int height) Called every time the encoder input resolution change.
-
Method Details
-
onCurrentEncoder
Called with the VideoCodecInfo of the currently used encoder. -
onAvailableBitrate
Called with the current available bitrate. Returns null if the encoder selector prefers to keep the current encoder or a VideoCodecInfo if a new encoder is preferred. -
onResolutionChange
Called every time the encoder input resolution change. Returns null if the encoder selector prefers to keep the current encoder or a VideoCodecInfo if a new encoder is preferred. -
onEncoderBroken
Called when the currently used encoder signal itself as broken. Returns null if the encoder selector prefers to keep the current encoder or a VideoCodecInfo if a new encoder is preferred.
-