Lines Matching refs:videoCodec
18 - (instancetype)initWithNativeVideoCodec : (const webrtc::VideoCodec *)videoCodec {
20 if (videoCodec) {
21 const char *codecName = CodecTypeToPayloadString(videoCodec->codecType);
24 self.width = videoCodec->width;
25 self.height = videoCodec->height;
26 self.startBitrate = videoCodec->startBitrate;
27 self.maxBitrate = videoCodec->maxBitrate;
28 self.minBitrate = videoCodec->minBitrate;
29 self.maxFramerate = videoCodec->maxFramerate;
30 self.qpMax = videoCodec->qpMax;
31 self.mode = (RTCVideoCodecMode)videoCodec->mode;
39 webrtc::VideoCodec videoCodec;
40 videoCodec.width = self.width;
41 videoCodec.height = self.height;
42 videoCodec.startBitrate = self.startBitrate;
43 videoCodec.maxBitrate = self.maxBitrate;
44 videoCodec.minBitrate = self.minBitrate;
45 videoCodec.maxBitrate = self.maxBitrate;
46 videoCodec.qpMax = self.qpMax;
47 videoCodec.mode = (webrtc::VideoCodecMode)self.mode;
49 return videoCodec;