Searched refs:time_since_last_encode_ms (Results 1 – 1 of 1) sorted by relevance
52 int64_t time_since_last_encode_ms = 1000 / config_.maxFramerate; in Encode() local58 time_since_last_encode_ms = time_now_ms - last_encode_time_ms_; in Encode()60 if (time_since_last_encode_ms > 3 * 1000 / config_.maxFramerate) { in Encode()63 time_since_last_encode_ms = 3 * 1000 / config_.maxFramerate; in Encode()67 static_cast<size_t>(target_bitrate_kbps_ * time_since_last_encode_ms); in Encode()69 config_.simulcastStream[0].minBitrate * time_since_last_encode_ms); in Encode()73 static_cast<size_t>(max_target_bitrate_kbps_ * time_since_last_encode_ms); in Encode()85 config_.simulcastStream[i].minBitrate * time_since_last_encode_ms); in Encode()87 config_.simulcastStream[i].maxBitrate * time_since_last_encode_ms); in Encode()