• Home
  • Raw
  • Download

Lines Matching refs:error_desc

75 static void SafeSetError(const std::string& message, std::string* error_desc) {  in SafeSetError()  argument
76 if (error_desc) { in SafeSetError()
77 *error_desc = message; in SafeSetError()
411 std::string* error_desc) { in SetLocalContent() argument
414 this, content, action, error_desc)); in SetLocalContent()
419 std::string* error_desc) { in SetRemoteContent() argument
422 this, content, action, error_desc)); in SetRemoteContent()
761 std::string* error_desc) { in PushdownLocalDescription() argument
766 !SetLocalContent(content_desc, action, error_desc)) { in PushdownLocalDescription()
775 std::string* error_desc) { in PushdownRemoteDescription() argument
780 !SetRemoteContent(content_desc, action, error_desc)) { in PushdownRemoteDescription()
994 std::string* error_desc) { in SetRtpTransportParameters_w() argument
1005 if (!SetSrtp_w(content->cryptos(), action, src, error_desc)) { in SetRtpTransportParameters_w()
1009 if (!SetRtcpMux_w(content->rtcp_mux(), action, src, error_desc)) { in SetRtpTransportParameters_w()
1020 std::string* error_desc) { in CheckSrtpConfig() argument
1024 error_desc); in CheckSrtpConfig()
1033 std::string* error_desc) { in SetSrtp_w() argument
1040 ret = CheckSrtpConfig(cryptos, &dtls, error_desc); in SetSrtp_w()
1070 SafeSetError("Failed to setup SRTP filter.", error_desc); in SetSrtp_w()
1091 std::string* error_desc) { in SetRtcpMux_w() argument
1119 SafeSetError("Failed to setup RTCP mux filter.", error_desc); in SetRtcpMux_w()
1147 std::string* error_desc) { in UpdateLocalStreams_w() argument
1165 SafeSetError(desc.str(), error_desc); in UpdateLocalStreams_w()
1173 SafeSetError(desc.str(), error_desc); in UpdateLocalStreams_w()
1194 SafeSetError(desc.str(), error_desc); in UpdateLocalStreams_w()
1208 SafeSetError(desc.str(), error_desc); in UpdateLocalStreams_w()
1220 std::string* error_desc) { in UpdateRemoteStreams_w() argument
1238 SafeSetError(desc.str(), error_desc); in UpdateRemoteStreams_w()
1246 SafeSetError(desc.str(), error_desc); in UpdateRemoteStreams_w()
1269 SafeSetError(desc.str(), error_desc); in UpdateRemoteStreams_w()
1283 SafeSetError(desc.str(), error_desc); in UpdateRemoteStreams_w()
1497 std::string* error_desc) { in SetLocalContent_w() argument
1506 SafeSetError("Can't find audio content in local description.", error_desc); in SetLocalContent_w()
1510 if (!SetRtpTransportParameters_w(content, action, CS_LOCAL, error_desc)) { in SetLocalContent_w()
1518 error_desc); in SetLocalContent_w()
1530 if (!UpdateLocalStreams_w(audio->streams(), action, error_desc)) { in SetLocalContent_w()
1531 SafeSetError("Failed to set local audio description streams.", error_desc); in SetLocalContent_w()
1542 std::string* error_desc) { in SetRemoteContent_w() argument
1551 SafeSetError("Can't find audio content in remote description.", error_desc); in SetRemoteContent_w()
1555 if (!SetRtpTransportParameters_w(content, action, CS_REMOTE, error_desc)) { in SetRemoteContent_w()
1566 error_desc); in SetRemoteContent_w()
1575 if (!UpdateRemoteStreams_w(audio->streams(), action, error_desc)) { in SetRemoteContent_w()
1576 SafeSetError("Failed to set remote audio description streams.", error_desc); in SetRemoteContent_w()
1768 std::string* error_desc) { in SetLocalContent_w() argument
1777 SafeSetError("Can't find video content in local description.", error_desc); in SetLocalContent_w()
1781 if (!SetRtpTransportParameters_w(content, action, CS_LOCAL, error_desc)) { in SetLocalContent_w()
1789 error_desc); in SetLocalContent_w()
1801 if (!UpdateLocalStreams_w(video->streams(), action, error_desc)) { in SetLocalContent_w()
1802 SafeSetError("Failed to set local video description streams.", error_desc); in SetLocalContent_w()
1813 std::string* error_desc) { in SetRemoteContent_w() argument
1822 SafeSetError("Can't find video content in remote description.", error_desc); in SetRemoteContent_w()
1827 if (!SetRtpTransportParameters_w(content, action, CS_REMOTE, error_desc)) { in SetRemoteContent_w()
1838 error_desc); in SetRemoteContent_w()
1847 if (!UpdateRemoteStreams_w(video->streams(), action, error_desc)) { in SetRemoteContent_w()
1848 SafeSetError("Failed to set remote video description streams.", error_desc); in SetRemoteContent_w()
2066 std::string* error_desc) { in SetDataChannelType() argument
2079 SafeSetError(desc.str(), error_desc); in SetDataChannelType()
2089 std::string* error_desc) { in SetDataChannelTypeFromContent() argument
2093 return SetDataChannelType(data_channel_type, error_desc); in SetDataChannelTypeFromContent()
2098 std::string* error_desc) { in SetLocalContent_w() argument
2107 SafeSetError("Can't find data content in local description.", error_desc); in SetLocalContent_w()
2111 if (!SetDataChannelTypeFromContent(data, error_desc)) { in SetLocalContent_w()
2116 if (!SetRtpTransportParameters_w(content, action, CS_LOCAL, error_desc)) { in SetLocalContent_w()
2128 error_desc); in SetLocalContent_w()
2142 if (!UpdateLocalStreams_w(data->streams(), action, error_desc)) { in SetLocalContent_w()
2143 SafeSetError("Failed to set local data description streams.", error_desc); in SetLocalContent_w()
2154 std::string* error_desc) { in SetRemoteContent_w() argument
2162 SafeSetError("Can't find data content in remote description.", error_desc); in SetRemoteContent_w()
2172 if (!SetDataChannelTypeFromContent(data, error_desc)) { in SetRemoteContent_w()
2178 !SetRtpTransportParameters_w(content, action, CS_REMOTE, error_desc)) { in SetRemoteContent_w()
2187 error_desc); in SetRemoteContent_w()
2196 if (!UpdateRemoteStreams_w(data->streams(), action, error_desc)) { in SetRemoteContent_w()
2198 error_desc); in SetRemoteContent_w()