/* * Copyright 2012 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.
*/
// This file contain SDP strings used for testing.
// Audio SDP with a limited set of audio codecs. staticconstchar kAudioSdpPlanB[] = "v=0\r\n" "o=- 7859371131 2 IN IP4 192.168.30.208\r\n" "s=-\r\n" "c=IN IP4 192.168.30.208\r\n" "t=0 0\r\n" "m=audio 16000 RTP/SAVPF 0 8 126\r\n" "a=rtpmap:0 PCMU/8000\r\n" "a=rtpmap:8 PCMA/8000\r\n" "a=rtpmap:126 telephone-event/8000\r\n" "a=sendrecv\r\n" "a=rtcp:16000 IN IP4 192.168.30.208\r\n" "a=rtcp-mux\r\n" "a=crypto:0 AES_CM_128_HMAC_SHA1_80 " "inline:tvKIFjbMQ7W0/C2RzhwN0oQglj/7GJg+frdsNRxt\r\n" "a=ice-ufrag:AI2sRT3r\r\n" "a=ice-pwd:lByS9z2RSQlSE9XurlvjYmEm\r\n" "a=ssrc:4227871655 cname:GeAAgb6XCPNLVMX5\r\n" "a=ssrc:4227871655 msid:1NFAV3iD08ioO2339rQS9pfOI9mDf6GeG9F4 a0\r\n" "a=ssrc:4227871655 mslabel:1NFAV3iD08ioO2339rQS9pfOI9mDf6GeG9F4\r\n" "a=ssrc:4227871655 label:1NFAV3iD08ioO2339rQS9pfOI9mDf6GeG9F4a0\r\n" "a=mid:audio\r\n"; // Same string as above but with the MID changed to the Unified Plan default. // This is needed so that this SDP can be used as an answer for a Unified Plan // offer. staticconstchar kAudioSdpUnifiedPlan[] = "v=0\r\n" "o=- 7859371131 2 IN IP4 192.168.30.208\r\n" "s=-\r\n" "c=IN IP4 192.168.30.208\r\n" "t=0 0\r\n" "m=audio 16000 RTP/SAVPF 0 8 126\r\n" "a=rtpmap:0 PCMU/8000\r\n" "a=rtpmap:8 PCMA/8000\r\n" "a=rtpmap:126 telephone-event/8000\r\n" "a=sendrecv\r\n" "a=rtcp:16000 IN IP4 192.168.30.208\r\n" "a=rtcp-mux\r\n" "a=crypto:0 AES_CM_128_HMAC_SHA1_80 " "inline:tvKIFjbMQ7W0/C2RzhwN0oQglj/7GJg+frdsNRxt\r\n" "a=ice-ufrag:AI2sRT3r\r\n" "a=ice-pwd:lByS9z2RSQlSE9XurlvjYmEm\r\n" "a=ssrc:4227871655 cname:GeAAgb6XCPNLVMX5\r\n" "a=ssrc:4227871655 msid:1NFAV3iD08ioO2339rQS9pfOI9mDf6GeG9F4 a0\r\n" "a=ssrc:4227871655 mslabel:1NFAV3iD08ioO2339rQS9pfOI9mDf6GeG9F4\r\n" "a=ssrc:4227871655 label:1NFAV3iD08ioO2339rQS9pfOI9mDf6GeG9F4a0\r\n" "a=mid:0\r\n";
staticconstchar kAudioSdpWithUnsupportedCodecsPlanB[] = "v=0\r\n" "o=- 6858750541 2 IN IP4 192.168.30.208\r\n" "s=-\r\n" "c=IN IP4 192.168.30.208\r\n" "t=0 0\r\n" "m=audio 16000 RTP/SAVPF 0 8 109 110 126\r\n" "a=rtpmap:0 PCMU/8000\r\n" "a=rtpmap:8 PCMA/8000\r\n" "a=rtpmap:109 WeirdCodec1/8000\r\n" "a=rtpmap:110 WeirdCodec2/8000\r\n" "a=rtpmap:126 telephone-event/8000\r\n" "a=sendonly\r\n" "a=rtcp:16000 IN IP4 192.168.30.208\r\n" "a=rtcp-mux\r\n" "a=crypto:0 AES_CM_128_HMAC_SHA1_80 " "inline:tvKIFjbMQ7W0/C2RzhwN0oQglj/7GJg+frdsNRxt\r\n" "a=ice-ufrag:AI2sRT3r\r\n" "a=ice-pwd:lByS9z2RSQlSE9XurlvjYmEm\r\n" "a=ssrc:4227871655 cname:TsmD02HRfhkJBm4m\r\n" "a=ssrc:4227871655 msid:7nU0TApbB-n4dfPlCplWT9QTEsbBDS1IlpW3 a0\r\n" "a=ssrc:4227871655 mslabel:7nU0TApbB-n4dfPlCplWT9QTEsbBDS1IlpW3\r\n" "a=ssrc:4227871655 label:7nU0TApbB-n4dfPlCplWT9QTEsbBDS1IlpW3a0\r\n" "a=mid:audio\r\n"; // Same string as above but with the MID changed to the Unified Plan default. // This is needed so that this SDP can be used as an answer for a Unified Plan // offer. staticconstchar kAudioSdpWithUnsupportedCodecsUnifiedPlan[] = "v=0\r\n" "o=- 6858750541 2 IN IP4 192.168.30.208\r\n" "s=-\r\n" "c=IN IP4 192.168.30.208\r\n" "t=0 0\r\n" "m=audio 16000 RTP/SAVPF 0 8 109 110 126\r\n" "a=rtpmap:0 PCMU/8000\r\n" "a=rtpmap:8 PCMA/8000\r\n" "a=rtpmap:109 WeirdCodec1/8000\r\n" "a=rtpmap:110 WeirdCodec2/8000\r\n" "a=rtpmap:126 telephone-event/8000\r\n" "a=sendonly\r\n" "a=rtcp:16000 IN IP4 192.168.30.208\r\n" "a=rtcp-mux\r\n" "a=crypto:0 AES_CM_128_HMAC_SHA1_80 " "inline:tvKIFjbMQ7W0/C2RzhwN0oQglj/7GJg+frdsNRxt\r\n" "a=ice-ufrag:AI2sRT3r\r\n" "a=ice-pwd:lByS9z2RSQlSE9XurlvjYmEm\r\n" "a=ssrc:4227871655 cname:TsmD02HRfhkJBm4m\r\n" "a=ssrc:4227871655 msid:7nU0TApbB-n4dfPlCplWT9QTEsbBDS1IlpW3 a0\r\n" "a=ssrc:4227871655 mslabel:7nU0TApbB-n4dfPlCplWT9QTEsbBDS1IlpW3\r\n" "a=ssrc:4227871655 label:7nU0TApbB-n4dfPlCplWT9QTEsbBDS1IlpW3a0\r\n" "a=mid:0\r\n";
} // namespace webrtc
#endif// PC_TEST_TEST_SDP_STRINGS_H_
Messung V0.5
¤ Dauer der Verarbeitung: 0.9 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.