Lines Matching full:updated
94 BitrateConstraints updated; in UpdateConstraints() local
95 updated.min_bitrate_bps = in UpdateConstraints()
99 updated.max_bitrate_bps = in UpdateConstraints()
102 updated.max_bitrate_bps = in UpdateConstraints()
103 MinPositive(updated.max_bitrate_bps, max_bitrate_over_relay_.bps_or(-1)); in UpdateConstraints()
107 if (updated.max_bitrate_bps != -1 && in UpdateConstraints()
108 updated.min_bitrate_bps > updated.max_bitrate_bps) { in UpdateConstraints()
109 updated.min_bitrate_bps = updated.max_bitrate_bps; in UpdateConstraints()
114 if (updated.min_bitrate_bps == bitrate_config_.min_bitrate_bps && in UpdateConstraints()
115 updated.max_bitrate_bps == bitrate_config_.max_bitrate_bps && in UpdateConstraints()
122 updated.start_bitrate_bps = MinPositive( in UpdateConstraints()
123 std::max(*new_start, updated.min_bitrate_bps), updated.max_bitrate_bps); in UpdateConstraints()
125 updated.start_bitrate_bps = -1; in UpdateConstraints()
127 BitrateConstraints config_to_return = updated; in UpdateConstraints()
129 updated.start_bitrate_bps = bitrate_config_.start_bitrate_bps; in UpdateConstraints()
131 bitrate_config_ = updated; in UpdateConstraints()