Lines Matching refs:rtp
41 std::string VideoSendStream::Config::Rtp::Rtx::ToString()
57 std::string VideoSendStream::Config::Rtp::ToString() const {
94 ss << ", rtp: " << rtp.ToString();
134 assert(config_.rtp.ssrcs.size() > 0);
136 assert(config_.rtp.min_transmit_bitrate_bps >= 0);
138 config_.rtp.min_transmit_bitrate_bps / 1000);
140 for (size_t i = 0; i < config_.rtp.extensions.size(); ++i) {
141 const std::string& extension = config_.rtp.extensions[i].name;
142 int id = config_.rtp.extensions[i].id;
157 if (config_.rtp.fec.red_payload_type != -1) {
158 assert(config_.rtp.fec.ulpfec_payload_type != -1);
159 if (config_.rtp.nack.rtp_history_ms > 0) {
163 static_cast<unsigned char>(config_.rtp.fec.red_payload_type),
164 static_cast<unsigned char>(config_.rtp.fec.ulpfec_payload_type));
169 static_cast<unsigned char>(config_.rtp.fec.red_payload_type),
170 static_cast<unsigned char>(config_.rtp.fec.ulpfec_payload_type));
173 rtp_rtcp_->SetNACKStatus(channel_, config_.rtp.nack.rtp_history_ms > 0);
177 assert(config_.rtp.c_name.length() < ViERTP_RTCP::KMaxRTCPCNameLength);
178 strncpy(rtcp_cname, config_.rtp.c_name.c_str(), sizeof(rtcp_cname) - 1);
193 static_cast<unsigned int>(config_.rtp.max_packet_size + 28));
295 assert(config_.rtp.ssrcs.size() >= streams.size());
379 for (size_t i = 0; i < config_.rtp.ssrcs.size(); ++i) {
381 config_.rtp.ssrcs[i],
386 if (config_.rtp.rtx.ssrcs.empty()) {
387 assert(!config_.rtp.rtx.pad_with_redundant_payloads);
392 assert(config_.rtp.rtx.ssrcs.size() == config_.rtp.ssrcs.size());
393 for (size_t i = 0; i < config_.rtp.ssrcs.size(); ++i) {
395 config_.rtp.rtx.ssrcs[i],
400 if (config_.rtp.rtx.pad_with_redundant_payloads) {
404 assert(config_.rtp.rtx.payload_type >= 0);
405 rtp_rtcp_->SetRtxSendPayloadType(channel_, config_.rtp.rtx.payload_type);