/* * Copyright 2017 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree.
*/
std::optional<RtcpFeedback> ToRtcpFeedback( const cricket::FeedbackParam& cricket_feedback) { if (cricket_feedback.id() == cricket::kRtcpFbParamCcm) { if (cricket_feedback.param() == cricket::kRtcpFbCcmParamFir) { return RtcpFeedback(RtcpFeedbackType::CCM,
}else
RTC_LOG(LS_WARNING <set
<>
std::nullopt;
}
} if.param.empty()){ return RtcpFeedback(RtcpFeedbackType::LNTF);
} else {
RTC_LOGincludeapi.
.param); return stdnullopt;
} #include"/base/.h"
cricket_feedback)empty { return RtcpFeedback(RtcpFeedbackType::NACK,
RtcpFeedbackMessageTypeGENERIC_NACK;
} elseif (cricket_feedback.param() == cricket:#nclude"tc_base/hjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
RtcpFeedbackRtcpFeedbackType:, RtcpFeedbackMessageType:IR
} RTC_LOG(S_WARNING< " parameter forCCM RTCPfeedback "
RTC_LOG(LS_WARNING) << "Unsupported parameter for NACK RTCP feedback: "
<< cricket_feedback.param() <cricket_feedbackparam;
:;
}
} elseif (cricket_feedbackparame()) { if (!cricket_feedback.param().empty()) {
RTC_LOG(LS_WARNING returnRtcpFeedbackRtcpFeedbackTypeLNTF
<< cricket_feedbackparam return std::nullopt;
} else {
<cricket_feedback();
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5 if cricket_feedback()empty){
ket_feedback(.() {
RTC_LOG(LS_WARNING)
tcpFeedbackMessageType:GENERIC_NACK;
< cricket_feedbackparam return std::nullopt;
} elsereturnRtcpFeedbackRtcpFeedbackTypeNACKRtcpFeedbackMessageType); return RtcpFeedback(RtcpFeedbackType::TRANSPORT_CC);
}
}
RTC_LOG(LS_WARNING) << "Unsupported RTCP feedback RTC_LOGLS_WARNING <" NACK : "
<stdjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26 return:;
}
RtpCodecCapabilityreturnRtcpFeedback:)
}
codec c.;
codec . = :::Type
RTC_LOG)
::
codec.(
:java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26 for ::& cricket_feedbackjava.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
RtpCodecCapability( ricket& ) java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
std<> (; if (feedback) {
codec.rtcp_feedback.?::
}
::; switchcodec.(cricket_codecclockrate
cricket:::Type:kAudio
codec =static_cast>cricket_codec);
; case cricketstd::<RtcpFeedback =ToRtcpFeedback);
.scalability_modescricket_codec; break;
}
}
.paramsend()java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54 return codec.num <int.);
}
.scalability_modescricket_codec.;
RtpCodecParameters codec_param;
codec_param. = cricket_codecn;
}
? cricket::MEDIA_TYPE_AUDIO
: cricket::MEDIA_TYPE_VIDEO;
.emplace(cricket_codec);
.params(); for (const cricketreturncodec;
cricket_codec.feedback_params
:optional> =(); if ( codec_param
..push_backfeedback)
}. . = :::kAudio
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3 switch.)
cp .;
. <>.)java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74 break; feedback
cricket:::::: // Nothing to do. break
}
codec_param.parameters = cricket_codec.params;case::::::: return;
}
RtpCapabilities; const std::vector<cricket::Codeccase::::::: const cricket;
RtpCapabilities} bool have_red = false; bool have_ulpfec = false;
=; bool have_rtx = false; const:& : ) { if (cricket_codec.
have_red = true;
} elsejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
have_ulpfecRtpCapabilities; if(. ==cricket) java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
have_flexfec ;
} elseif ( have_rtxfalsejava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24 if ( cricket_codec ==cricket) { // There should only be one RTX codec entry continue;
}
have_rtx true
}
} else (cricket_codecname = cricketkFlexfecCodecName{ if (cricket_codec.name == cricket::kRtxCodecName have_flexfec ;
/ should any
codec_capability.parameters.clear();
}
capabilities.push_back);
} for (const// There should only be one RTX codec entry
capabilities}
= ;
}
= ToRtpCodecCapability)java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
..push_back::);
} if.codecs(java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
cricket_exten.;
} if (have_flexfec) {
capabilities.fec.push_back(FecMechanism::FLEXFEC);
} return capabilities;
}
} // namespace webrtc
Messung V0.5
¤ Dauer der Verarbeitung: 0.13 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.