setVideoCodec abstract method

Future<void> setVideoCodec(
  1. String codec
)

The codec the camera is published in: 'vp8' or 'h264'.

Read at each camera publish, so unlike simulcast it does not have to be set before the media room is built; it does have to be set before connect to reach the first publish. A camera already published keeps the codec it went out with.

Implementation

Future<void> setVideoCodec(String codec);