Home | History | Annotate | Download | only in media

Lines Matching full:error_desc

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