getActiveVideoCodec

Returns the codec currently in use by the local webcam producer.

If the requested codec was unavailable, or if the hardware encoder failed and the SDK auto-fell back to VP8, this reflects the actual active codec — not the originally requested one.

Code Example:


String active = meeting.getActiveVideoCodec();
if ("VP8".equals(active)) {
    // either VP8 was requested, or fallback kicked in
}

Return

active codec name (e.g. "VP8", "H264"), or null if the webcam is currently disabled.

See also