Codec Change Info
class CodecChangeInfo
Details of a video codec change, delivered via onCodecChanged.
Delivered when a remote participant cannot decode the video codec you are sending and the SDK falls back to VP8. Local send-side fallbacks do not fire this event; they emit ERROR_VIDEO_PRODUCE_CODEC_NOT_SUPPORTED (3008) instead.
Constructors
Link copied to clipboard
constructor(@Nullable unsupportedRemoteCodec: VideoCodec, currentCodec: VideoCodec, @Nullable previousCodec: VideoCodec, kind: String, @Nullable causedBy: Participant)