| 225 | } |
| 226 | |
| 227 | void V_H264Encoder::SetRates(int bitrate) |
| 228 | { |
| 229 | video_bitrate_ = bitrate; |
| 230 | h264_.startBitrate = bitrate; |
| 231 | h264_.targetBitrate = bitrate; |
| 232 | h264_.maxBitrate = bitrate; |
| 233 | if(encoder_ != NULL) |
| 234 | { |
| 235 | encoder_->SetRates(bitrate, h264_.maxFramerate); |
| 236 | } |
| 237 | } |
| 238 | |
| 239 | void V_H264Encoder::SetAutoAdjustBit(bool enabled) |
| 240 | { |
no outgoing calls
no test coverage detected