code stringlengths 1 1.49M | vector listlengths 0 7.38k | snippet listlengths 0 7.38k |
|---|---|---|
# $Id: 200_codec_g722.py 2063 2008-06-26 18:52:16Z nanang $
#
from inc_cfg import *
ADD_PARAM = ""
if (HAS_SND_DEV == 0):
ADD_PARAM += "--null-audio"
# Call with G722 codec
test_param = TestParam(
"PESQ codec G722",
[
InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --add-codec g722 --clock-rate 16000 --play... | [
[
1,
0,
0.1579,
0.0526,
0,
0.66,
0,
160,
0,
1,
0,
0,
160,
0,
0
],
[
14,
0,
0.2632,
0.0526,
0,
0.66,
0.25,
125,
1,
0,
0,
0,
0,
3,
0
],
[
4,
0,
0.3947,
0.1053,
0,
0.6... | [
"from inc_cfg import *",
"ADD_PARAM = \"\"",
"if (HAS_SND_DEV == 0):\n\tADD_PARAM += \"--null-audio\"",
"test_param = TestParam(\n\t\t\"PESQ codec G722\",\n\t\t[\n\t\t\tInstanceParam(\"UA1\", ADD_PARAM + \" --max-calls=1 --add-codec g722 --clock-rate 16000 --play-file wavs/input.16.wav\"),\n\t\t\tInstancePara... |
# $Id: 201_codec_speex_16000.py 2063 2008-06-26 18:52:16Z nanang $
#
from inc_cfg import *
# Call with Speex/16000 codec
test_param = TestParam(
"PESQ codec Speex WB (RX side uses snd dev)",
[
InstanceParam("UA1", "--max-calls=1 --clock-rate 16000 --add-codec speex/16000 --play-file wavs/input.16.wav --null-aud... | [
[
1,
0,
0.1765,
0.0588,
0,
0.66,
0,
160,
0,
1,
0,
0,
160,
0,
0
],
[
14,
0,
0.5294,
0.4118,
0,
0.66,
0.3333,
109,
3,
2,
0,
0,
27,
10,
3
],
[
4,
0,
0.8529,
0.1176,
0,
... | [
"from inc_cfg import *",
"test_param = TestParam(\n\t\t\"PESQ codec Speex WB (RX side uses snd dev)\",\n\t\t[\n\t\t\tInstanceParam(\"UA1\", \"--max-calls=1 --clock-rate 16000 --add-codec speex/16000 --play-file wavs/input.16.wav --null-audio\"),\n\t\t\tInstanceParam(\"UA2\", \"--max-calls=1 --clock-rate 16000 --a... |
# $Id: 200_codec_g711u.py 2063 2008-06-26 18:52:16Z nanang $
#
from inc_cfg import *
ADD_PARAM = ""
if (HAS_SND_DEV == 0):
ADD_PARAM += "--null-audio"
# Call with PCMU codec
test_param = TestParam(
"PESQ codec PCMU",
[
InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --add-codec pcmu --clock-rate 8000 --play... | [
[
1,
0,
0.1579,
0.0526,
0,
0.66,
0,
160,
0,
1,
0,
0,
160,
0,
0
],
[
14,
0,
0.2632,
0.0526,
0,
0.66,
0.25,
125,
1,
0,
0,
0,
0,
3,
0
],
[
4,
0,
0.3947,
0.1053,
0,
0.6... | [
"from inc_cfg import *",
"ADD_PARAM = \"\"",
"if (HAS_SND_DEV == 0):\n\tADD_PARAM += \"--null-audio\"",
"test_param = TestParam(\n\t\t\"PESQ codec PCMU\",\n\t\t[\n\t\t\tInstanceParam(\"UA1\", ADD_PARAM + \" --max-calls=1 --add-codec pcmu --clock-rate 8000 --play-file wavs/input.8.wav\"),\n\t\t\tInstanceParam(... |
# $Id: 200_codec_ilbc.py 2063 2008-06-26 18:52:16Z nanang $
#
from inc_cfg import *
ADD_PARAM = ""
if (HAS_SND_DEV == 0):
ADD_PARAM += "--null-audio"
# Call with iLBC codec
test_param = TestParam(
"PESQ codec iLBC",
[
InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --add-codec ilbc --clock-rate 8000 --play-... | [
[
1,
0,
0.1579,
0.0526,
0,
0.66,
0,
160,
0,
1,
0,
0,
160,
0,
0
],
[
14,
0,
0.2632,
0.0526,
0,
0.66,
0.25,
125,
1,
0,
0,
0,
0,
3,
0
],
[
4,
0,
0.3947,
0.1053,
0,
0.6... | [
"from inc_cfg import *",
"ADD_PARAM = \"\"",
"if (HAS_SND_DEV == 0):\n\tADD_PARAM += \"--null-audio\"",
"test_param = TestParam(\n\t\t\"PESQ codec iLBC\",\n\t\t[\n\t\t\tInstanceParam(\"UA1\", ADD_PARAM + \" --max-calls=1 --add-codec ilbc --clock-rate 8000 --play-file wavs/input.8.wav\"),\n\t\t\tInstanceParam(... |
# $Id: 200_codec_speex_16000.py 3286 2010-08-18 14:30:15Z bennylp $
#
from inc_cfg import *
ADD_PARAM = ""
if (HAS_SND_DEV == 0):
ADD_PARAM += "--null-audio"
# Call with Speex/16000 codec
test_param = TestParam(
"PESQ codec Speex WB",
[
InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --clock-rate 16000 --ad... | [
[
1,
0,
0.1579,
0.0526,
0,
0.66,
0,
160,
0,
1,
0,
0,
160,
0,
0
],
[
14,
0,
0.2632,
0.0526,
0,
0.66,
0.25,
125,
1,
0,
0,
0,
0,
3,
0
],
[
4,
0,
0.3947,
0.1053,
0,
0.6... | [
"from inc_cfg import *",
"ADD_PARAM = \"\"",
"if (HAS_SND_DEV == 0):\n\tADD_PARAM += \"--null-audio\"",
"test_param = TestParam(\n\t\t\"PESQ codec Speex WB\",\n\t\t[\n\t\t\tInstanceParam(\"UA1\", ADD_PARAM + \" --max-calls=1 --clock-rate 16000 --add-codec speex/16000 --play-file wavs/input.16.wav --no-vad\"),... |
# $Id: config_site.py 2237 2008-08-26 12:13:25Z bennylp $
# Specify if host has sound device, or test should be performed using sound device
HAS_SND_DEV = 0
| [
[
14,
0,
1,
0.25,
0,
0.66,
0,
40,
1,
0,
0,
0,
0,
1,
0
]
] | [
"HAS_SND_DEV = 0"
] |
# $Id: runall.py 3717 2011-08-19 12:41:40Z nanang $
import os
import sys
import time
import re
import shutil
PYTHON = os.path.basename(sys.executable)
# Usage:
# runall.py [test-to-resume]
# Initialize test list
tests = []
# Excluded tests (because they fail?)
excluded_tests = [ "svn",
"pyc",
"scripts-c... | [
[
1,
0,
0.1667,
0.1667,
0,
0.66,
0,
688,
0,
1,
0,
0,
688,
0,
0
],
[
1,
0,
0.3333,
0.1667,
0,
0.66,
0.25,
509,
0,
1,
0,
0,
509,
0,
0
],
[
1,
0,
0.5,
0.1667,
0,
0.66,... | [
"import os",
"import sys",
"import time",
"import re",
"import shutil"
] |
# $Id: 150_srtp_3_0.py 3334 2010-10-05 16:32:04Z nanang $
#
from inc_cfg import *
test_param = TestParam(
"Callee=optional (with duplicated offer) SRTP, caller=no SRTP",
[
InstanceParam("callee", "--null-audio --use-srtp=3 --srtp-secure=0 --max-calls=1"),
InstanceParam("caller", "--null-audio --use-srtp=0 --... | [
[
1,
0,
0.2727,
0.0909,
0,
0.66,
0,
160,
0,
1,
0,
0,
160,
0,
0
],
[
14,
0,
0.7273,
0.6364,
0,
0.66,
1,
109,
3,
2,
0,
0,
27,
10,
3
]
] | [
"from inc_cfg import *",
"test_param = TestParam(\n\t\t\"Callee=optional (with duplicated offer) SRTP, caller=no SRTP\",\n\t\t[\n\t\t\tInstanceParam(\"callee\", \"--null-audio --use-srtp=3 --srtp-secure=0 --max-calls=1\"),\n\t\t\tInstanceParam(\"caller\", \"--null-audio --use-srtp=0 --srtp-secure=0 --max-calls=1\... |
# $Id: 150_srtp_1_1.py 2392 2008-12-22 18:54:58Z bennylp $
#
from inc_cfg import *
test_param = TestParam(
"Callee=optional SRTP, caller=optional SRTP",
[
InstanceParam("callee", "--null-audio --use-srtp=1 --srtp-secure=0 --max-calls=1"),
InstanceParam("caller", "--null-audio --use-srtp=1 --srtp-secure=0 --m... | [
[
1,
0,
0.2727,
0.0909,
0,
0.66,
0,
160,
0,
1,
0,
0,
160,
0,
0
],
[
14,
0,
0.7273,
0.6364,
0,
0.66,
1,
109,
3,
2,
0,
0,
27,
10,
3
]
] | [
"from inc_cfg import *",
"test_param = TestParam(\n\t\t\"Callee=optional SRTP, caller=optional SRTP\",\n\t\t[\n\t\t\tInstanceParam(\"callee\", \"--null-audio --use-srtp=1 --srtp-secure=0 --max-calls=1\"),\n\t\t\tInstanceParam(\"caller\", \"--null-audio --use-srtp=1 --srtp-secure=0 --max-calls=1\")\n\t\t]\n\t\t)"
... |
# $Id: 350_prack_b.py 2392 2008-12-22 18:54:58Z bennylp $
#
from inc_cfg import *
# TCP call
test_param = TestParam(
"Caller requires PRACK",
[
InstanceParam("callee", "--null-audio --max-calls=1"),
InstanceParam("caller", "--null-audio --max-calls=1 --use-100rel")
]
)
| [
[
1,
0,
0.25,
0.0833,
0,
0.66,
0,
160,
0,
1,
0,
0,
160,
0,
0
],
[
14,
0,
0.75,
0.5833,
0,
0.66,
1,
109,
3,
2,
0,
0,
27,
10,
3
]
] | [
"from inc_cfg import *",
"test_param = TestParam(\n\t\t\"Caller requires PRACK\",\n\t\t[\n\t\t\tInstanceParam(\"callee\", \"--null-audio --max-calls=1\"),\n\t\t\tInstanceParam(\"caller\", \"--null-audio --max-calls=1 --use-100rel\")\n\t\t]\n\t\t)"
] |
# $Id: 300_ice_1_0.py 2025 2008-06-15 19:43:43Z bennylp $
#
from inc_cfg import *
# ICE mismatch
test_param = TestParam(
"Callee=use ICE, caller=no ICE",
[
InstanceParam("callee", "--null-audio --use-ice --max-calls=1"),
InstanceParam("caller", "--null-audio --max-calls=1")
]
)
| [
[
1,
0,
0.25,
0.0833,
0,
0.66,
0,
160,
0,
1,
0,
0,
160,
0,
0
],
[
14,
0,
0.75,
0.5833,
0,
0.66,
1,
109,
3,
2,
0,
0,
27,
10,
3
]
] | [
"from inc_cfg import *",
"test_param = TestParam(\n\t\t\"Callee=use ICE, caller=no ICE\",\n\t\t[\n\t\t\tInstanceParam(\"callee\", \"--null-audio --use-ice --max-calls=1\"),\n\t\t\tInstanceParam(\"caller\", \"--null-audio --max-calls=1\")\n\t\t]\n\t\t)"
] |
# $Id: 150_srtp_1_2.py 2025 2008-06-15 19:43:43Z bennylp $
#
from inc_cfg import *
test_param = TestParam(
"Callee=optional SRTP, caller=mandatory SRTP",
[
InstanceParam("callee", "--null-audio --use-srtp=1 --srtp-secure=0 --max-calls=1"),
InstanceParam("caller", "--null-audio --use-srtp=2 --srtp-secure=0 --... | [
[
1,
0,
0.2727,
0.0909,
0,
0.66,
0,
160,
0,
1,
0,
0,
160,
0,
0
],
[
14,
0,
0.7273,
0.6364,
0,
0.66,
1,
109,
3,
2,
0,
0,
27,
10,
3
]
] | [
"from inc_cfg import *",
"test_param = TestParam(\n\t\t\"Callee=optional SRTP, caller=mandatory SRTP\",\n\t\t[\n\t\t\tInstanceParam(\"callee\", \"--null-audio --use-srtp=1 --srtp-secure=0 --max-calls=1\"),\n\t\t\tInstanceParam(\"caller\", \"--null-audio --use-srtp=2 --srtp-secure=0 --max-calls=1\")\n\t\t]\n\t\t)"... |
# $Id: 150_srtp_1_3.py 3334 2010-10-05 16:32:04Z nanang $
#
from inc_cfg import *
test_param = TestParam(
"Callee=optional SRTP, caller=optional (with duplicated offer) SRTP",
[
InstanceParam("callee", "--null-audio --use-srtp=1 --srtp-secure=0 --max-calls=1"),
InstanceParam("caller", "--null-audio --use-srt... | [
[
1,
0,
0.2727,
0.0909,
0,
0.66,
0,
160,
0,
1,
0,
0,
160,
0,
0
],
[
14,
0,
0.7273,
0.6364,
0,
0.66,
1,
109,
3,
2,
0,
0,
27,
10,
3
]
] | [
"from inc_cfg import *",
"test_param = TestParam(\n\t\t\"Callee=optional SRTP, caller=optional (with duplicated offer) SRTP\",\n\t\t[\n\t\t\tInstanceParam(\"callee\", \"--null-audio --use-srtp=1 --srtp-secure=0 --max-calls=1\"),\n\t\t\tInstanceParam(\"caller\", \"--null-audio --use-srtp=3 --srtp-secure=0 --max-ca... |
# $Id: 150_srtp_3_1.py 3334 2010-10-05 16:32:04Z nanang $
#
from inc_cfg import *
test_param = TestParam(
"Callee=optional (with duplicated offer) SRTP, caller=optional SRTP",
[
InstanceParam("callee", "--null-audio --use-srtp=3 --srtp-secure=0 --max-calls=1"),
InstanceParam("caller", "--null-audio --use-srt... | [
[
1,
0,
0.2727,
0.0909,
0,
0.66,
0,
160,
0,
1,
0,
0,
160,
0,
0
],
[
14,
0,
0.7273,
0.6364,
0,
0.66,
1,
109,
3,
2,
0,
0,
27,
10,
3
]
] | [
"from inc_cfg import *",
"test_param = TestParam(\n\t\t\"Callee=optional (with duplicated offer) SRTP, caller=optional SRTP\",\n\t\t[\n\t\t\tInstanceParam(\"callee\", \"--null-audio --use-srtp=3 --srtp-secure=0 --max-calls=1\"),\n\t\t\tInstanceParam(\"caller\", \"--null-audio --use-srtp=1 --srtp-secure=0 --max-ca... |
# $Id: 305_ice_comp_1_2.py 2196 2008-08-07 09:55:52Z bennylp $
#
from inc_cfg import *
# Different number of ICE components
test_param = TestParam(
"Callee=use ICE, caller=use ICE",
[
InstanceParam("callee", "--null-audio --use-ice --max-calls=1 --ice-no-rtcp", enable_buffer=True),
InstanceParam("caller", "-... | [
[
1,
0,
0.25,
0.0833,
0,
0.66,
0,
160,
0,
1,
0,
0,
160,
0,
0
],
[
14,
0,
0.75,
0.5833,
0,
0.66,
1,
109,
3,
2,
0,
0,
27,
10,
3
]
] | [
"from inc_cfg import *",
"test_param = TestParam(\n\t\t\"Callee=use ICE, caller=use ICE\",\n\t\t[\n\t\t\tInstanceParam(\"callee\", \"--null-audio --use-ice --max-calls=1 --ice-no-rtcp\", enable_buffer=True),\n\t\t\tInstanceParam(\"caller\", \"--null-audio --use-ice --max-calls=1\", enable_buffer=True)\n\t\t]\n\t\... |
# $Id: 150_srtp_0_1.py 2392 2008-12-22 18:54:58Z bennylp $
#
from inc_cfg import *
test_param= TestParam(
"Callee=no SRTP, caller=optional SRTP",
[
InstanceParam("callee", "--null-audio --max-calls=1"),
InstanceParam("caller", "--null-audio --use-srtp=1 --srtp-secure=0 --max-calls=1")
]
)
| [
[
1,
0,
0.2727,
0.0909,
0,
0.66,
0,
160,
0,
1,
0,
0,
160,
0,
0
],
[
14,
0,
0.7273,
0.6364,
0,
0.66,
1,
109,
3,
2,
0,
0,
27,
10,
3
]
] | [
"from inc_cfg import *",
"test_param= TestParam(\n\t\t\"Callee=no SRTP, caller=optional SRTP\",\n\t\t[\n\t\t\tInstanceParam(\"callee\", \"--null-audio --max-calls=1\"),\n\t\t\tInstanceParam(\"caller\", \"--null-audio --use-srtp=1 --srtp-secure=0 --max-calls=1\")\n\t\t]\n\t\t)"
] |
# $Id: 150_srtp_2_3.py 3334 2010-10-05 16:32:04Z nanang $
#
from inc_cfg import *
test_param = TestParam(
"Callee=mandatory SRTP, caller=optional (with duplicated offer) SRTP",
[
InstanceParam("callee", "--null-audio --use-srtp=2 --srtp-secure=0 --max-calls=1"),
InstanceParam("caller", "--null-audio --use-sr... | [
[
1,
0,
0.2727,
0.0909,
0,
0.66,
0,
160,
0,
1,
0,
0,
160,
0,
0
],
[
14,
0,
0.7273,
0.6364,
0,
0.66,
1,
109,
3,
2,
0,
0,
27,
10,
3
]
] | [
"from inc_cfg import *",
"test_param = TestParam(\n\t\t\"Callee=mandatory SRTP, caller=optional (with duplicated offer) SRTP\",\n\t\t[\n\t\t\tInstanceParam(\"callee\", \"--null-audio --use-srtp=2 --srtp-secure=0 --max-calls=1\"),\n\t\t\tInstanceParam(\"caller\", \"--null-audio --use-srtp=3 --srtp-secure=0 --max-c... |
# $Id: 150_srtp_2_1.py 2025 2008-06-15 19:43:43Z bennylp $
#
from inc_cfg import *
# Simple call
test_param = TestParam(
"Callee=mandatory SRTP, caller=optional SRTP",
[
InstanceParam("callee", "--null-audio --use-srtp=2 --srtp-secure=0 --max-calls=1"),
InstanceParam("caller", "--null-audio --use-srtp=1 --sr... | [
[
1,
0,
0.25,
0.0833,
0,
0.66,
0,
160,
0,
1,
0,
0,
160,
0,
0
],
[
14,
0,
0.75,
0.5833,
0,
0.66,
1,
109,
3,
2,
0,
0,
27,
10,
3
]
] | [
"from inc_cfg import *",
"test_param = TestParam(\n\t\t\"Callee=mandatory SRTP, caller=optional SRTP\",\n\t\t[\n\t\t\tInstanceParam(\"callee\", \"--null-audio --use-srtp=2 --srtp-secure=0 --max-calls=1\"),\n\t\t\tInstanceParam(\"caller\", \"--null-audio --use-srtp=1 --srtp-secure=0 --max-calls=1\")\n\t\t]\n\t\t)"... |
# $Id: 400_tel_uri.py 3323 2010-09-28 07:43:18Z bennylp $
#
from inc_cfg import *
# Simple call
test_param = TestParam(
"tel: URI in From",
[
InstanceParam("callee", "--null-audio --max-calls=1 --id tel:+111"),
InstanceParam("caller", "--null-audio --max-calls=1")
]
)
| [
[
1,
0,
0.25,
0.0833,
0,
0.66,
0,
160,
0,
1,
0,
0,
160,
0,
0
],
[
14,
0,
0.75,
0.5833,
0,
0.66,
1,
109,
3,
2,
0,
0,
27,
10,
3
]
] | [
"from inc_cfg import *",
"test_param = TestParam(\n\t\t\"tel: URI in From\",\n\t\t[\n\t\t\tInstanceParam(\"callee\", \"--null-audio --max-calls=1 --id tel:+111\"),\n\t\t\tInstanceParam(\"caller\", \"--null-audio --max-calls=1\")\n\t\t]\n\t\t)"
] |
# $Id: 150_srtp_0_3.py 3334 2010-10-05 16:32:04Z nanang $
#
from inc_cfg import *
test_param = TestParam(
"Callee=no SRTP, caller=optional (with duplicated offer) SRTP",
[
InstanceParam("callee", "--null-audio --use-srtp=0 --srtp-secure=0 --max-calls=1"),
InstanceParam("caller", "--null-audio --use-srtp=3 --... | [
[
1,
0,
0.2727,
0.0909,
0,
0.66,
0,
160,
0,
1,
0,
0,
160,
0,
0
],
[
14,
0,
0.7273,
0.6364,
0,
0.66,
1,
109,
3,
2,
0,
0,
27,
10,
3
]
] | [
"from inc_cfg import *",
"test_param = TestParam(\n\t\t\"Callee=no SRTP, caller=optional (with duplicated offer) SRTP\",\n\t\t[\n\t\t\tInstanceParam(\"callee\", \"--null-audio --use-srtp=0 --srtp-secure=0 --max-calls=1\"),\n\t\t\tInstanceParam(\"caller\", \"--null-audio --use-srtp=3 --srtp-secure=0 --max-calls=1\... |
# $Id: 150_srtp_2_2.py 2025 2008-06-15 19:43:43Z bennylp $
#
from inc_cfg import *
test_param = TestParam(
"Callee=mandatory SRTP, caller=mandatory SRTP",
[
InstanceParam("callee", "--null-audio --use-srtp=2 --srtp-secure=0 --max-calls=1"),
InstanceParam("caller", "--null-audio --use-srtp=2 --srtp-secure=0 -... | [
[
1,
0,
0.2727,
0.0909,
0,
0.66,
0,
160,
0,
1,
0,
0,
160,
0,
0
],
[
14,
0,
0.7273,
0.6364,
0,
0.66,
1,
109,
3,
2,
0,
0,
27,
10,
3
]
] | [
"from inc_cfg import *",
"test_param = TestParam(\n\t\t\"Callee=mandatory SRTP, caller=mandatory SRTP\",\n\t\t[\n\t\t\tInstanceParam(\"callee\", \"--null-audio --use-srtp=2 --srtp-secure=0 --max-calls=1\"),\n\t\t\tInstanceParam(\"caller\", \"--null-audio --use-srtp=2 --srtp-secure=0 --max-calls=1\")\n\t\t]\n\t\t)... |
# $Id: 150_srtp_3_2.py 3334 2010-10-05 16:32:04Z nanang $
#
from inc_cfg import *
test_param = TestParam(
"Callee=optional (with duplicated offer) SRTP, caller=mandatory SRTP",
[
InstanceParam("callee", "--null-audio --use-srtp=3 --srtp-secure=0 --max-calls=1"),
InstanceParam("caller", "--null-audio --use-sr... | [
[
1,
0,
0.2727,
0.0909,
0,
0.66,
0,
160,
0,
1,
0,
0,
160,
0,
0
],
[
14,
0,
0.7273,
0.6364,
0,
0.66,
1,
109,
3,
2,
0,
0,
27,
10,
3
]
] | [
"from inc_cfg import *",
"test_param = TestParam(\n\t\t\"Callee=optional (with duplicated offer) SRTP, caller=mandatory SRTP\",\n\t\t[\n\t\t\tInstanceParam(\"callee\", \"--null-audio --use-srtp=3 --srtp-secure=0 --max-calls=1\"),\n\t\t\tInstanceParam(\"caller\", \"--null-audio --use-srtp=2 --srtp-secure=0 --max-c... |
# $Id: 300_ice_1_1.py 2084 2008-06-27 23:53:00Z bennylp $
#
from inc_cfg import *
# ICE mismatch
test_param = TestParam(
"Callee=use ICE, caller=use ICE",
[
InstanceParam("callee", "--null-audio --use-ice --max-calls=1", enable_buffer=True),
InstanceParam("caller", "--null-audio --use-ice --max-calls=1", ena... | [
[
1,
0,
0.25,
0.0833,
0,
0.66,
0,
160,
0,
1,
0,
0,
160,
0,
0
],
[
14,
0,
0.75,
0.5833,
0,
0.66,
1,
109,
3,
2,
0,
0,
27,
10,
3
]
] | [
"from inc_cfg import *",
"test_param = TestParam(\n\t\t\"Callee=use ICE, caller=use ICE\",\n\t\t[\n\t\t\tInstanceParam(\"callee\", \"--null-audio --use-ice --max-calls=1\", enable_buffer=True),\n\t\t\tInstanceParam(\"caller\", \"--null-audio --use-ice --max-calls=1\", enable_buffer=True)\n\t\t]\n\t\t)"
] |
# $Id: 300_ice_0_1.py 2025 2008-06-15 19:43:43Z bennylp $
#
from inc_cfg import *
# ICE mismatch
test_param = TestParam(
"Callee=no ICE, caller=use ICE",
[
InstanceParam("callee", "--null-audio --max-calls=1"),
InstanceParam("caller", "--null-audio --use-ice --max-calls=1")
]
)
| [
[
1,
0,
0.25,
0.0833,
0,
0.66,
0,
160,
0,
1,
0,
0,
160,
0,
0
],
[
14,
0,
0.75,
0.5833,
0,
0.66,
1,
109,
3,
2,
0,
0,
27,
10,
3
]
] | [
"from inc_cfg import *",
"test_param = TestParam(\n\t\t\"Callee=no ICE, caller=use ICE\",\n\t\t[\n\t\t\tInstanceParam(\"callee\", \"--null-audio --max-calls=1\"),\n\t\t\tInstanceParam(\"caller\", \"--null-audio --use-ice --max-calls=1\")\n\t\t]\n\t\t)"
] |
# $Id: 100_simplecall.py 2392 2008-12-22 18:54:58Z bennylp $
#
from inc_cfg import *
# Simple call
test_param = TestParam(
"Basic call",
[
InstanceParam("callee", "--null-audio --max-calls=1"),
InstanceParam("caller", "--null-audio --max-calls=1")
]
)
| [
[
1,
0,
0.25,
0.0833,
0,
0.66,
0,
160,
0,
1,
0,
0,
160,
0,
0
],
[
14,
0,
0.75,
0.5833,
0,
0.66,
1,
109,
3,
2,
0,
0,
27,
10,
3
]
] | [
"from inc_cfg import *",
"test_param = TestParam(\n\t\t\"Basic call\",\n\t\t[\n\t\t\tInstanceParam(\"callee\", \"--null-audio --max-calls=1\"),\n\t\t\tInstanceParam(\"caller\", \"--null-audio --max-calls=1\")\n\t\t]\n\t\t)"
] |
# $Id: 150_srtp_3_3.py 3334 2010-10-05 16:32:04Z nanang $
#
from inc_cfg import *
test_param = TestParam(
"Callee=optional (with duplicated offer) SRTP, caller=optional (with duplicated offer) SRTP",
[
InstanceParam("callee", "--null-audio --use-srtp=3 --srtp-secure=0 --max-calls=1"),
InstanceParam("caller",... | [
[
1,
0,
0.2727,
0.0909,
0,
0.66,
0,
160,
0,
1,
0,
0,
160,
0,
0
],
[
14,
0,
0.7273,
0.6364,
0,
0.66,
1,
109,
3,
2,
0,
0,
27,
10,
3
]
] | [
"from inc_cfg import *",
"test_param = TestParam(\n\t\t\"Callee=optional (with duplicated offer) SRTP, caller=optional (with duplicated offer) SRTP\",\n\t\t[\n\t\t\tInstanceParam(\"callee\", \"--null-audio --use-srtp=3 --srtp-secure=0 --max-calls=1\"),\n\t\t\tInstanceParam(\"caller\", \"--null-audio --use-srtp=3 ... |
# $Id: 200_tcp.py 2028 2008-06-16 13:04:44Z bennylp $
#
from inc_cfg import *
# TCP call
test_param = TestParam(
"TCP transport",
[
InstanceParam("callee", "--null-audio --no-udp --max-calls=1", uri_param=";transport=tcp"),
InstanceParam("caller", "--null-audio --no-udp --max-calls=1")
]
)
| [
[
1,
0,
0.25,
0.0833,
0,
0.66,
0,
160,
0,
1,
0,
0,
160,
0,
0
],
[
14,
0,
0.75,
0.5833,
0,
0.66,
1,
109,
3,
2,
0,
0,
27,
10,
3
]
] | [
"from inc_cfg import *",
"test_param = TestParam(\n\t\t\"TCP transport\",\n\t\t[\n\t\t\tInstanceParam(\"callee\", \"--null-audio --no-udp --max-calls=1\", uri_param=\";transport=tcp\"),\n\t\t\tInstanceParam(\"caller\", \"--null-audio --no-udp --max-calls=1\")\n\t\t]\n\t\t)"
] |
# $Id: 305_ice_comp_2_1.py 2196 2008-08-07 09:55:52Z bennylp $
#
from inc_cfg import *
# Different number of ICE components
test_param = TestParam(
"Callee=use ICE, caller=use ICE",
[
InstanceParam("callee", "--null-audio --use-ice --max-calls=1", enable_buffer=True),
InstanceParam("caller", "--null-audio --... | [
[
1,
0,
0.25,
0.0833,
0,
0.66,
0,
160,
0,
1,
0,
0,
160,
0,
0
],
[
14,
0,
0.75,
0.5833,
0,
0.66,
1,
109,
3,
2,
0,
0,
27,
10,
3
]
] | [
"from inc_cfg import *",
"test_param = TestParam(\n\t\t\"Callee=use ICE, caller=use ICE\",\n\t\t[\n\t\t\tInstanceParam(\"callee\", \"--null-audio --use-ice --max-calls=1\", enable_buffer=True),\n\t\t\tInstanceParam(\"caller\", \"--null-audio --use-ice --max-calls=1 --ice-no-rtcp\", enable_buffer=True)\n\t\t]\n\t\... |
# $Id: 150_srtp_1_0.py 2392 2008-12-22 18:54:58Z bennylp $
#
from inc_cfg import *
test_param = TestParam(
"Callee=optional SRTP, caller=no SRTP",
[
InstanceParam("callee", "--null-audio --use-srtp=1 --srtp-secure=0 --max-calls=1"),
InstanceParam("caller", "--null-audio --max-calls=1")
]
)
| [
[
1,
0,
0.2727,
0.0909,
0,
0.66,
0,
160,
0,
1,
0,
0,
160,
0,
0
],
[
14,
0,
0.7273,
0.6364,
0,
0.66,
1,
109,
3,
2,
0,
0,
27,
10,
3
]
] | [
"from inc_cfg import *",
"test_param = TestParam(\n\t\t\"Callee=optional SRTP, caller=no SRTP\",\n\t\t[\n\t\t\tInstanceParam(\"callee\", \"--null-audio --use-srtp=1 --srtp-secure=0 --max-calls=1\"),\n\t\t\tInstanceParam(\"caller\", \"--null-audio --max-calls=1\")\n\t\t]\n\t\t)"
] |
# $Id: 301_ice_public_b.py 2392 2008-12-22 18:54:58Z bennylp $
#
from inc_cfg import *
# This test:
# to make call with ICE but without STUN.
# Note:
# - need --dis-codec to make INVITE packet less than typical MTU
uas_args = "--null-audio --id=\"<sip:test1@pjsip.org>\" --registrar=sip:sip.pjsip.org --username=test... | [
[
1,
0,
0.12,
0.04,
0,
0.66,
0,
160,
0,
1,
0,
0,
160,
0,
0
],
[
14,
0,
0.4,
0.04,
0,
0.66,
0.3333,
847,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.48,
0.04,
0,
0.66,
0.6... | [
"from inc_cfg import *",
"uas_args = \"--null-audio --id=\\\"<sip:test1@pjsip.org>\\\" --registrar=sip:sip.pjsip.org --username=test1 --password=test1 --realm=pjsip.org --proxy=\\\"sip:sip.pjsip.org;lr\\\" --rtp-port 0 --use-ice --use-compact-form --max-calls 1 --dis-codec=i --dis-codec=s --dis-codec=g --log-f... |
# $Id: 301_ice_public_a.py 2392 2008-12-22 18:54:58Z bennylp $
#
from inc_cfg import *
# Note:
# - need --dis-codec to make INVITE packet less than typical MTU
uas_args = "--null-audio --id=\"<sip:test1@pjsip.org>\" --registrar=sip:sip.pjsip.org --username=test1 --password=test1 --realm=pjsip.org --proxy=\"sip:sip.p... | [
[
1,
0,
0.1364,
0.0455,
0,
0.66,
0,
160,
0,
1,
0,
0,
160,
0,
0
],
[
14,
0,
0.3182,
0.0455,
0,
0.66,
0.3333,
847,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.4091,
0.0455,
0,
... | [
"from inc_cfg import *",
"uas_args = \"--null-audio --id=\\\"<sip:test1@pjsip.org>\\\" --registrar=sip:sip.pjsip.org --username=test1 --password=test1 --realm=pjsip.org --proxy=\\\"sip:sip.pjsip.org;lr\\\" --rtp-port 0 --stun-srv stun.pjsip.org --use-ice --use-compact-form --max-calls 1 --dis-codec=i --dis-co... |
# $Id: 350_prack_a.py 2392 2008-12-22 18:54:58Z bennylp $
#
from inc_cfg import *
# TCP call
test_param = TestParam(
"Callee requires PRACK",
[
InstanceParam("callee", "--null-audio --max-calls=1 --use-100rel"),
InstanceParam("caller", "--null-audio --max-calls=1")
]
)
| [
[
1,
0,
0.25,
0.0833,
0,
0.66,
0,
160,
0,
1,
0,
0,
160,
0,
0
],
[
14,
0,
0.75,
0.5833,
0,
0.66,
1,
109,
3,
2,
0,
0,
27,
10,
3
]
] | [
"from inc_cfg import *",
"test_param = TestParam(\n\t\t\"Callee requires PRACK\",\n\t\t[\n\t\t\tInstanceParam(\"callee\", \"--null-audio --max-calls=1 --use-100rel\"),\n\t\t\tInstanceParam(\"caller\", \"--null-audio --max-calls=1\")\n\t\t]\n\t\t)"
] |
# $Id: mod_sendto.py 3243 2010-08-01 09:48:51Z bennylp $
import imp
import sys
import inc_sip as sip
import inc_const as const
import re
from inc_cfg import *
# Read configuration
cfg_file = imp.load_source("cfg_file", ARGS[1])
# Test body function
def test_func(t):
pjsua = t.process[0]
# Create dialog
dlg = sip.D... | [
[
1,
0,
0.0377,
0.0189,
0,
0.66,
0,
201,
0,
1,
0,
0,
201,
0,
0
],
[
1,
0,
0.0566,
0.0189,
0,
0.66,
0.125,
509,
0,
1,
0,
0,
509,
0,
0
],
[
1,
0,
0.0755,
0.0189,
0,
0... | [
"import imp",
"import sys",
"import inc_sip as sip",
"import inc_const as const",
"import re",
"from inc_cfg import *",
"cfg_file = imp.load_source(\"cfg_file\", ARGS[1])",
"def test_func(t):\n\tpjsua = t.process[0]\n\t# Create dialog\n\tdlg = sip.Dialog(\"127.0.0.1\", pjsua.inst_param.sip_port, \n\t\... |
# $Id: mod_recvfrom.py 3259 2010-08-09 07:31:34Z nanang $
import imp
import sys
import inc_sip as sip
import inc_const as const
import re
from inc_cfg import *
# Read configuration
cfg_file = imp.load_source("cfg_file", ARGS[1])
# Default server port (should we randomize?)
srv_port = 50070
def test_func(test):
pjsu... | [
[
1,
0,
0.0206,
0.0103,
0,
0.66,
0,
201,
0,
1,
0,
0,
201,
0,
0
],
[
1,
0,
0.0309,
0.0103,
0,
0.66,
0.1,
509,
0,
1,
0,
0,
509,
0,
0
],
[
1,
0,
0.0412,
0.0103,
0,
0.6... | [
"import imp",
"import sys",
"import inc_sip as sip",
"import inc_const as const",
"import re",
"from inc_cfg import *",
"cfg_file = imp.load_source(\"cfg_file\", ARGS[1])",
"srv_port = 50070",
"def test_func(test):\n\tpjsua = test.process[0]\n\tdlg = sip.Dialog(\"127.0.0.1\", pjsua.inst_param.sip_po... |
# $Id: mod_run.py 2078 2008-06-27 21:12:12Z nanang $
import imp
import sys
from inc_cfg import *
# Read configuration
cfg_file = imp.load_source("cfg_file", ARGS[1])
# Here where it all comes together
test = cfg_file.test_param
| [
[
1,
0,
0.1818,
0.0909,
0,
0.66,
0,
201,
0,
1,
0,
0,
201,
0,
0
],
[
1,
0,
0.2727,
0.0909,
0,
0.66,
0.25,
509,
0,
1,
0,
0,
509,
0,
0
],
[
1,
0,
0.4545,
0.0909,
0,
0.... | [
"import imp",
"import sys",
"from inc_cfg import *",
"cfg_file = imp.load_source(\"cfg_file\", ARGS[1])",
"test = cfg_file.test_param"
] |
# $Id: mod_pres.py 2078 2008-06-27 21:12:12Z nanang $
import time
import imp
import sys
import inc_const as const
from inc_cfg import *
# Load configuration
cfg_file = imp.load_source("cfg_file", ARGS[1])
# Test body function
def test_func(t):
u1 = t.process[0]
uri1 = cfg_file.test_param.inst_params[0].uri
acc1 =... | [
[
1,
0,
0.016,
0.008,
0,
0.66,
0,
654,
0,
1,
0,
0,
654,
0,
0
],
[
1,
0,
0.024,
0.008,
0,
0.66,
0.125,
201,
0,
1,
0,
0,
201,
0,
0
],
[
1,
0,
0.032,
0.008,
0,
0.66,
... | [
"import time",
"import imp",
"import sys",
"import inc_const as const",
"from inc_cfg import *",
"cfg_file = imp.load_source(\"cfg_file\", ARGS[1])",
"def test_func(t):\n\tu1 = t.process[0]\n\turi1 = cfg_file.test_param.inst_params[0].uri\n\tacc1 = \"-1\"\n\tu2 = t.process[1]\n\turi2 = cfg_file.test_par... |
# $Id: inc_const.py 3710 2011-08-18 17:26:11Z nanang $
# Useful constants
##########################
# MENU OUTPUT
#
##########################
# EVENTS
#
# Text to expect when there is incoming call
EVENT_INCOMING_CALL = "Press .* answer"
##########################
# CALL STATES
#
# Call state is CALLING
STATE... | [
[
14,
0,
0.2419,
0.0161,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.371,
0.0161,
0,
0.66,
0.0714,
845,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.4032,
0.0161,
0,
0.66... | [
"EVENT_INCOMING_CALL = \"Press .* answer\"",
"STATE_CALLING = \"state.*CALLING\"",
"STATE_CONFIRMED = \"state.*CONFIRMED\"",
"STATE_DISCONNECTED = \"Call .* DISCONNECTED\"",
"MEDIA_HOLD = \"Call [0-9]+ media [0-9]+ .*, status is .* hold\"",
"MEDIA_ACTIVE = \"Call [0-9]+ media [0-9]+ .*, status is Active\"... |
# $Id: inc_sdp.py 2392 2008-12-22 18:54:58Z bennylp $
# SDP template
sdp_templ = \
"""v=0\r
o=- 1 1 $NET_TYPE $ADDR_TYPE $LOCAL_IP\r
s=pjmedia\r
t=0 0\r
$SDP_LINES"""
sdp_media_templ = \
"""m=$MEDIA_TYPE $PORT $TRANSPORT 0\r
c=$NET_TYPE $ADDR_TYPE $LOCAL_IP\r
$SDP_LINES"""
# Create SDP session
def session(local_ip="... | [
[
14,
0,
0.1711,
0.1579,
0,
0.66,
0,
880,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.3289,
0.1053,
0,
0.66,
0.3333,
400,
1,
0,
0,
0,
0,
3,
0
],
[
2,
0,
0.5263,
0.1842,
0,
0.... | [
"sdp_templ = \\\n\"\"\"v=0\\r\no=- 1 1 $NET_TYPE $ADDR_TYPE $LOCAL_IP\\r\ns=pjmedia\\r\nt=0 0\\r\n$SDP_LINES\"\"\"",
"sdp_media_templ = \\\n\"\"\"m=$MEDIA_TYPE $PORT $TRANSPORT 0\\r\nc=$NET_TYPE $ADDR_TYPE $LOCAL_IP\\r\n$SDP_LINES\"\"\"",
"def session(local_ip=\"127.0.0.1\", extra_lines=\"\", net_type=\"IN\", a... |
# $Id: 200_publish.py 2028 2008-06-16 13:04:44Z bennylp $
#
from inc_cfg import *
# Basic registration
test_param = TestParam(
"Presence with PUBLISH",
[
InstanceParam( "ua1",
"--null-audio"+
" --id=\"<sip:test1@pjsip.org>\""+
" --registrar=sip:sip.pjsip.org" +
" --username=test1" +
... | [
[
1,
0,
0.0857,
0.0286,
0,
0.66,
0,
160,
0,
1,
0,
0,
160,
0,
0
],
[
14,
0,
0.5714,
0.8286,
0,
0.66,
1,
109,
3,
2,
0,
0,
27,
10,
3
]
] | [
"from inc_cfg import *",
"test_param = TestParam(\n\t\t\"Presence with PUBLISH\",\n\t\t[\n\t\t\tInstanceParam(\t\"ua1\", \n\t\t\t\t\t\"--null-audio\"+\n\t\t\t\t\t\t\" --id=\\\"<sip:test1@pjsip.org>\\\"\"+\n\t\t\t\t\t\t\" --registrar=sip:sip.pjsip.org\" +\n\t\t\t\t\t\t\" --username=test1\" +"
] |
# $Id: 100_peertopeer.py 2392 2008-12-22 18:54:58Z bennylp $
#
from inc_cfg import *
# Direct peer to peer presence
test_param = TestParam(
"Direct peer to peer presence",
[
InstanceParam("client1", "--null-audio"),
InstanceParam("client2", "--null-audio")
]
)
| [
[
1,
0,
0.25,
0.0833,
0,
0.66,
0,
160,
0,
1,
0,
0,
160,
0,
0
],
[
14,
0,
0.75,
0.5833,
0,
0.66,
1,
109,
3,
2,
0,
0,
27,
10,
3
]
] | [
"from inc_cfg import *",
"test_param = TestParam(\n\t\t\"Direct peer to peer presence\",\n\t\t[\n\t\t\tInstanceParam(\"client1\", \"--null-audio\"),\n\t\t\tInstanceParam(\"client2\", \"--null-audio\")\n\t\t]\n\t\t)"
] |
# $Id: mod_media_playrec.py 2884 2009-08-17 08:29:47Z bennylp $
# PLAYFILE -> RECFILE:
# Input file is played and is recorded to output, then compare them.
# Useful to tes clock rates compatibility and resample quality
# null-audio
# port 1: wav file input xxxxxx.clock_rate.wav, e.g: test1.8.wav
# port 2: wav file oup... | [
[
1,
0,
0.1019,
0.0093,
0,
0.66,
0,
654,
0,
1,
0,
0,
654,
0,
0
],
[
1,
0,
0.1111,
0.0093,
0,
0.66,
0.0588,
201,
0,
1,
0,
0,
201,
0,
0
],
[
1,
0,
0.1204,
0.0093,
0,
... | [
"import time",
"import imp",
"import sys",
"import re",
"import subprocess",
"import inc_const as const",
"from inc_cfg import *",
"cfg_file = imp.load_source(\"cfg_file\", ARGS[1])",
"COMPARE_WAV_EXE = \"\"",
"if sys.platform.find(\"win32\")!=-1:\n COMPARE_WAV_EXE = \"tools/cmp_wav.exe\"\n ... |
# $Id: mod_pesq.py 2417 2009-01-05 15:31:25Z bennylp $
# Quality test of media calls.
# - UA1 calls UA2
# - UA1 plays a file until finished to be streamed to UA2
# - UA2 records from stream
# - Apply PESQ to played file (reference) and recorded file (degraded)
#
# File should be:
# - naming: xxxxxx.CLOCK_RATE.wav, e.g... | [
[
1,
0,
0.0778,
0.006,
0,
0.66,
0,
654,
0,
1,
0,
0,
654,
0,
0
],
[
1,
0,
0.0838,
0.006,
0,
0.66,
0.05,
201,
0,
1,
0,
0,
201,
0,
0
],
[
1,
0,
0.0898,
0.006,
0,
0.66,... | [
"import time",
"import imp",
"import os",
"import sys",
"import re",
"import subprocess",
"import wave",
"import shutil",
"import inc_const as const",
"from inc_cfg import *",
"cfg_file = imp.load_source(\"cfg_file\", ARGS[1])",
"PESQ = \"tools/pesq\"\t\t\t# PESQ executable path",
"PESQ_DEFA... |
# $Id: 100_simple.py 3284 2010-08-18 07:38:48Z bennylp $
import inc_sip as sip
import inc_sdp as sdp
pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \
"--auto-update-nat=0"
req1 = sip.RecvfromTransaction("Registration", 200,
include=["REGISTER sip"],
exclude=["Authorization"],
... | [
[
1,
0,
0.125,
0.0625,
0,
0.66,
0,
992,
0,
1,
0,
0,
992,
0,
0
],
[
1,
0,
0.1875,
0.0625,
0,
0.66,
0.25,
614,
0,
1,
0,
0,
614,
0,
0
],
[
14,
0,
0.3438,
0.125,
0,
0.6... | [
"import inc_sip as sip",
"import inc_sdp as sdp",
"pjsua = \"--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT \" + \\\n\t\"--auto-update-nat=0\"",
"req1 = sip.RecvfromTransaction(\"Registration\", 200,\n\t\t\t\tinclude=[\"REGISTER sip\"], \n\t\t\t\texclude=[\"Authorization\"],\n\t\t\t\tresp_hdr=[\... |
# $Id: 400_inv_answered_with_less_media.py 3716 2011-08-19 12:24:48Z nanang $
import inc_sip as sip
import inc_sdp as sdp
# Offer with 2 media lines answered with only 1 media line
pjsua = "--null-audio sip:127.0.0.1:$PORT --id=sip:1000@localhost --extra-audio --use-srtp=0"
sdp = \
"""
v=0
o=- 0 0 IN IP4 127.0.0.1
s... | [
[
1,
0,
0.0625,
0.0312,
0,
0.66,
0,
992,
0,
1,
0,
0,
992,
0,
0
],
[
1,
0,
0.0938,
0.0312,
0,
0.66,
0.2,
614,
0,
1,
0,
0,
614,
0,
0
],
[
14,
0,
0.2188,
0.0312,
0,
0.... | [
"import inc_sip as sip",
"import inc_sdp as sdp",
"pjsua = \"--null-audio sip:127.0.0.1:$PORT --id=sip:1000@localhost --extra-audio --use-srtp=0\"",
"sdp = \\\n\"\"\"\nv=0\no=- 0 0 IN IP4 127.0.0.1\ns=pjmedia\nc=IN IP4 127.0.0.1\nt=0 0\nm=audio 4000 RTP/AVP 0 101",
"req = sip.RecvfromTransaction(\"Receiving... |
# $Id: 209a_reg_handle_423_ok.py 3105 2010-02-23 11:03:07Z bennylp $
import inc_sip as sip
import inc_sdp as sdp
pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \
"--realm=python --user=username --password=password " + \
"--auto-update-nat=0"
# 423 Response without Min-Expires header
req1 ... | [
[
1,
0,
0.0645,
0.0323,
0,
0.66,
0,
992,
0,
1,
0,
0,
992,
0,
0
],
[
1,
0,
0.0968,
0.0323,
0,
0.66,
0.1667,
614,
0,
1,
0,
0,
614,
0,
0
],
[
14,
0,
0.1935,
0.0968,
0,
... | [
"import inc_sip as sip",
"import inc_sdp as sdp",
"pjsua = \"--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT \" + \\\n\t\"--realm=python --user=username --password=password \" + \\\n\t\"--auto-update-nat=0\"",
"req1 = sip.RecvfromTransaction(\"Initial request\", 423,\n\t\t\t\tinclude=[\"REGISTER ... |
# $Id: 205_reg_good_no_realm.py 2392 2008-12-22 18:54:58Z bennylp $
import inc_sip as sip
import inc_sdp as sdp
pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \
"--realm=provider --user=username --password=password"
req1 = sip.RecvfromTransaction("", 401,
include=["REGISTER sip"],
... | [
[
1,
0,
0.125,
0.0625,
0,
0.66,
0,
992,
0,
1,
0,
0,
992,
0,
0
],
[
1,
0,
0.1875,
0.0625,
0,
0.66,
0.25,
614,
0,
1,
0,
0,
614,
0,
0
],
[
14,
0,
0.3438,
0.125,
0,
0.6... | [
"import inc_sip as sip",
"import inc_sdp as sdp",
"pjsua = \"--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT \" + \\\n\t\"--realm=provider --user=username --password=password\"",
"req1 = sip.RecvfromTransaction(\"\", 401,\n\t\t\t\tinclude=[\"REGISTER sip\"], \n\t\t\t\texclude=[\"Authorization\"],... |
# $Id: 240_publish_scenarios.py 2661 2009-04-28 22:19:49Z bennylp $
import inc_sip as sip
import inc_sdp as sdp
# Several PUBLISH failure scenarios that should be handled automatically
pjsua = "--null-audio --id=sip:127.0.0.1:$PORT --registrar sip:127.0.0.1:$PORT " + \
"--realm=python --user=username --password=pas... | [
[
1,
0,
0.0392,
0.0196,
0,
0.66,
0,
992,
0,
1,
0,
0,
992,
0,
0
],
[
1,
0,
0.0588,
0.0196,
0,
0.66,
0.125,
614,
0,
1,
0,
0,
614,
0,
0
],
[
14,
0,
0.1765,
0.0588,
0,
... | [
"import inc_sip as sip",
"import inc_sdp as sdp",
"pjsua = \"--null-audio --id=sip:127.0.0.1:$PORT --registrar sip:127.0.0.1:$PORT \" + \\\n\t\"--realm=python --user=username --password=password \" + \\\n\t\"--auto-update-nat=0 --publish\"",
"req1 = sip.RecvfromTransaction(\"Initial REGISTER\", 200,\n\t\t\t\t... |
# $Id: 203_reg_good_empty_realm.py 3150 2010-04-29 00:23:43Z bennylp $
import inc_sip as sip
import inc_sdp as sdp
pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \
"--realm=* --user=username --password=password " + \
"--auto-update-nat=0"
# 401 Response, missing realm value
req1 = sip.Rec... | [
[
1,
0,
0.0645,
0.0323,
0,
0.66,
0,
992,
0,
1,
0,
0,
992,
0,
0
],
[
1,
0,
0.0968,
0.0323,
0,
0.66,
0.1667,
614,
0,
1,
0,
0,
614,
0,
0
],
[
14,
0,
0.1935,
0.0968,
0,
... | [
"import inc_sip as sip",
"import inc_sdp as sdp",
"pjsua = \"--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT \" + \\\n\t\"--realm=* --user=username --password=password \" + \\\n\t\"--auto-update-nat=0\"",
"req1 = sip.RecvfromTransaction(\"Initial request\", 401,\n\t\t\t\tinclude=[\"REGISTER sip\"... |
# $Id: 231_reg_bad_fail_stale_false_nonce_changed.py 2392 2008-12-22 18:54:58Z bennylp $
import inc_sip as sip
import inc_sdp as sdp
# In this test we simulate broken server, where:
# - it wants to signal that NONCE has change
# - but it sets stale=false
# For this case pjsip will retry authentication until
# PJSIP_MA... | [
[
1,
0,
0.0488,
0.0244,
0,
0.66,
0,
992,
0,
1,
0,
0,
992,
0,
0
],
[
1,
0,
0.0732,
0.0244,
0,
0.66,
0.1429,
614,
0,
1,
0,
0,
614,
0,
0
],
[
14,
0,
0.3049,
0.0488,
0,
... | [
"import inc_sip as sip",
"import inc_sdp as sdp",
"pjsua = \"--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT \" + \\\n\t\"--realm=python --user=username --password=password\"",
"req1 = sip.RecvfromTransaction(\"Initial request\", 401,\n\t\t\t\tinclude=[\"REGISTER sip\"], \n\t\t\t\texclude=[\"Auth... |
# $Id: 235_reg_good_tel_uri_enocredential.py 3323 2010-09-28 07:43:18Z bennylp $
import inc_sip as sip
import inc_sdp as sdp
pjsua = "--null-audio --id=tel:+12345 --registrar sip:127.0.0.1:$PORT"
req1 = sip.RecvfromTransaction("", 401,
include=["REGISTER sip"],
exclude=["Authorization"],
resp_hdr=["WWW-A... | [
[
1,
0,
0.1333,
0.0667,
0,
0.66,
0,
992,
0,
1,
0,
0,
992,
0,
0
],
[
1,
0,
0.2,
0.0667,
0,
0.66,
0.25,
614,
0,
1,
0,
0,
614,
0,
0
],
[
14,
0,
0.3333,
0.0667,
0,
0.66... | [
"import inc_sip as sip",
"import inc_sdp as sdp",
"pjsua = \"--null-audio --id=tel:+12345 --registrar sip:127.0.0.1:$PORT\"",
"req1 = sip.RecvfromTransaction(\"\", 401,\n\t\t\t\tinclude=[\"REGISTER sip\"], \n\t\t\t\texclude=[\"Authorization\"],\n\t\t\t\tresp_hdr=[\"WWW-Authenticate: Digest realm=\\\"python\\\... |
# $Id: 300_timer_good.py 3307 2010-09-08 05:38:49Z nanang $
import inc_sip as sip
import inc_sdp as sdp
# INVITE session using session timer
pjsua = "--null-audio sip:127.0.0.1:$PORT --use-timer 2 --timer-min-se 100 --timer-se 2000"
req = sip.RecvfromTransaction("INVITE with session timer", 200,
include=["Sessio... | [
[
1,
0,
0.1176,
0.0588,
0,
0.66,
0,
992,
0,
1,
0,
0,
992,
0,
0
],
[
1,
0,
0.1765,
0.0588,
0,
0.66,
0.25,
614,
0,
1,
0,
0,
614,
0,
0
],
[
14,
0,
0.4118,
0.0588,
0,
0... | [
"import inc_sip as sip",
"import inc_sdp as sdp",
"pjsua = \"--null-audio sip:127.0.0.1:$PORT --use-timer 2 --timer-min-se 100 --timer-se 2000\"",
"req = sip.RecvfromTransaction(\"INVITE with session timer\", 200,\n\t\t\t\tinclude=[\"Session-Expires:\\s*2000\", \"Min-SE:\\s*100\"], \n\t\t\t\texclude=[],\n\t\t... |
# $Id: 220_reg_good_ims_ok.py 2392 2008-12-22 18:54:58Z bennylp $
import inc_sip as sip
import inc_sdp as sdp
pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \
"--username user@ims-domain --realm python --password passwd --use-ims --auto-update-nat=0"
req1 = sip.RecvfromTransaction("Initial... | [
[
1,
0,
0.0769,
0.0385,
0,
0.66,
0,
992,
0,
1,
0,
0,
992,
0,
0
],
[
1,
0,
0.1154,
0.0385,
0,
0.66,
0.2,
614,
0,
1,
0,
0,
614,
0,
0
],
[
14,
0,
0.2115,
0.0769,
0,
0.... | [
"import inc_sip as sip",
"import inc_sdp as sdp",
"pjsua = \"--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT \" + \\\n\t\"--username user@ims-domain --realm python --password passwd --use-ims --auto-update-nat=0\"",
"req1 = sip.RecvfromTransaction(\"Initial registration\", 401,\n\t\t\t\tinclude=[... |
# $Id: 209c_reg_handle_423_bad_min_expires2.py 3105 2010-02-23 11:03:07Z bennylp $
import inc_sip as sip
import inc_sdp as sdp
pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \
"--realm=python --user=username --password=password " + \
"--auto-update-nat=0 --reg-timeout 300"
# 423 without M... | [
[
1,
0,
0.08,
0.04,
0,
0.66,
0,
992,
0,
1,
0,
0,
992,
0,
0
],
[
1,
0,
0.12,
0.04,
0,
0.66,
0.2,
614,
0,
1,
0,
0,
614,
0,
0
],
[
14,
0,
0.24,
0.12,
0,
0.66,
0.4,... | [
"import inc_sip as sip",
"import inc_sdp as sdp",
"pjsua = \"--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT \" + \\\n\t\"--realm=python --user=username --password=password \" + \\\n\t\"--auto-update-nat=0 --reg-timeout 300\"",
"req1 = sip.RecvfromTransaction(\"Initial request\", 423,\n\t\t\t\tin... |
# $Id: 301_timer_good_retry_after_422.py 3287 2010-08-18 14:30:17Z nanang $
import inc_sip as sip
import inc_sdp as sdp
# Session timers retry after 422
pjsua = "--null-audio sip:127.0.0.1:$PORT --timer-min-se 100 --timer-se 1000"
# First INVITE with timer rejected with 422
req1 = sip.RecvfromTransaction("INVITE wi... | [
[
1,
0,
0.0667,
0.0333,
0,
0.66,
0,
992,
0,
1,
0,
0,
992,
0,
0
],
[
1,
0,
0.1,
0.0333,
0,
0.66,
0.1667,
614,
0,
1,
0,
0,
614,
0,
0
],
[
14,
0,
0.2667,
0.0333,
0,
0.... | [
"import inc_sip as sip",
"import inc_sdp as sdp",
"pjsua = \"--null-audio sip:127.0.0.1:$PORT --timer-min-se 100 --timer-se 1000\"",
"req1 = sip.RecvfromTransaction(\"INVITE with SE too small\", 422,\n\t\t\t\tinclude=[\"Session-Expires:\\s*1000\"], \n\t\t\t\texclude=[],\n\t\t\t\tresp_hdr=[\"Min-SE: 2000\"]\n\... |
# $Id: 209b_reg_handle_423_bad_min_expires1.py 3105 2010-02-23 11:03:07Z bennylp $
import inc_sip as sip
import inc_sdp as sdp
pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \
"--realm=python --user=username --password=password " + \
"--auto-update-nat=0 --reg-timeout 300"
# 423 Response ... | [
[
1,
0,
0.1,
0.05,
0,
0.66,
0,
992,
0,
1,
0,
0,
992,
0,
0
],
[
1,
0,
0.15,
0.05,
0,
0.66,
0.25,
614,
0,
1,
0,
0,
614,
0,
0
],
[
14,
0,
0.3,
0.15,
0,
0.66,
0.5,
... | [
"import inc_sip as sip",
"import inc_sdp as sdp",
"pjsua = \"--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT \" + \\\n\t\"--realm=python --user=username --password=password \" + \\\n\t\"--auto-update-nat=0 --reg-timeout 300\"",
"req1 = sip.RecvfromTransaction(\"Initial request\", 423,\n\t\t\t\tin... |
# $Id: 206_reg_good_efailedcredential.py 2392 2008-12-22 18:54:58Z bennylp $
import inc_sip as sip
import inc_sdp as sdp
# Authentication failure test with same nonce
pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \
"--realm=python --user=username --password=password"
req1 = sip.Recvfrom... | [
[
1,
0,
0.0769,
0.0385,
0,
0.66,
0,
992,
0,
1,
0,
0,
992,
0,
0
],
[
1,
0,
0.1154,
0.0385,
0,
0.66,
0.2,
614,
0,
1,
0,
0,
614,
0,
0
],
[
14,
0,
0.3269,
0.0769,
0,
0.... | [
"import inc_sip as sip",
"import inc_sdp as sdp",
"pjsua = \"--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT \" + \\\n\t\"--realm=python --user=username --password=password\"",
"req1 = sip.RecvfromTransaction(\"Initial request\", 401,\n\t\t\t\tinclude=[\"REGISTER sip\"], \n\t\t\t\texclude=[\"Auth... |
# $Id: 234_reg_bad_stale_ok.py 2392 2008-12-22 18:54:58Z bennylp $
import inc_sip as sip
import inc_sdp as sdp
# In this test we simulate broken server, where it wants to
# change the nonce, but it fails to set stale to true. In this
# case, we should expect pjsip to retry the authentication until
# PJSIP_MAX_STALE_CO... | [
[
1,
0,
0.0488,
0.0244,
0,
0.66,
0,
992,
0,
1,
0,
0,
992,
0,
0
],
[
1,
0,
0.0732,
0.0244,
0,
0.66,
0.1429,
614,
0,
1,
0,
0,
614,
0,
0
],
[
14,
0,
0.3171,
0.0732,
0,
... | [
"import inc_sip as sip",
"import inc_sdp as sdp",
"pjsua = \"--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT \" + \\\n\t\"--realm=python --user=username --password=password \" + \\\n\t\"--auto-update-nat=0\"",
"req1 = sip.RecvfromTransaction(\"Initial request\", 401,\n\t\t\t\tinclude=[\"REGISTER ... |
# $Id: 202_reg_good_ok_wildcard.py 2392 2008-12-22 18:54:58Z bennylp $
import inc_sip as sip
import inc_sdp as sdp
pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \
"--username user --realm \"*\" --password passwd --auto-update-nat=0"
req1 = sip.RecvfromTransaction("Initial registration", 4... | [
[
1,
0,
0.087,
0.0435,
0,
0.66,
0,
992,
0,
1,
0,
0,
992,
0,
0
],
[
1,
0,
0.1304,
0.0435,
0,
0.66,
0.2,
614,
0,
1,
0,
0,
614,
0,
0
],
[
14,
0,
0.2391,
0.087,
0,
0.66... | [
"import inc_sip as sip",
"import inc_sdp as sdp",
"pjsua = \"--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT \" + \\\n\t\"--username user --realm \\\"*\\\" --password passwd --auto-update-nat=0\"",
"req1 = sip.RecvfromTransaction(\"Initial registration\", 401,\n\t\t\t\tinclude=[\"REGISTER sip\"],... |
# $Id: 208_reg_good_retry_nonce_ok.py 2392 2008-12-22 18:54:58Z bennylp $
import inc_sip as sip
import inc_sdp as sdp
pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \
"--realm=python --user=username --password=password " + \
"--auto-update-nat=0"
req1 = sip.RecvfromTransaction("Initial re... | [
[
1,
0,
0.069,
0.0345,
0,
0.66,
0,
992,
0,
1,
0,
0,
992,
0,
0
],
[
1,
0,
0.1034,
0.0345,
0,
0.66,
0.1667,
614,
0,
1,
0,
0,
614,
0,
0
],
[
14,
0,
0.2069,
0.1034,
0,
... | [
"import inc_sip as sip",
"import inc_sdp as sdp",
"pjsua = \"--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT \" + \\\n\t\"--realm=python --user=username --password=password \" + \\\n\t\"--auto-update-nat=0\"",
"req1 = sip.RecvfromTransaction(\"Initial request\", 401,\n\t\t\t\tinclude=[\"REGISTER ... |
# $Id: 200_reg_good_enocredentiall.py 2392 2008-12-22 18:54:58Z bennylp $
import inc_sip as sip
import inc_sdp as sdp
pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT"
req1 = sip.RecvfromTransaction("", 401,
include=["REGISTER sip"],
exclude=["Authorization"],
resp_hdr=["WWW-Authenti... | [
[
1,
0,
0.1333,
0.0667,
0,
0.66,
0,
992,
0,
1,
0,
0,
992,
0,
0
],
[
1,
0,
0.2,
0.0667,
0,
0.66,
0.25,
614,
0,
1,
0,
0,
614,
0,
0
],
[
14,
0,
0.3333,
0.0667,
0,
0.66... | [
"import inc_sip as sip",
"import inc_sdp as sdp",
"pjsua = \"--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT\"",
"req1 = sip.RecvfromTransaction(\"\", 401,\n\t\t\t\tinclude=[\"REGISTER sip\"], \n\t\t\t\texclude=[\"Authorization\"],\n\t\t\t\tresp_hdr=[\"WWW-Authenticate: Digest realm=\\\"python\\\... |
# $Id: 215_reg_good_multi_ok.py 2392 2008-12-22 18:54:58Z bennylp $
import inc_sip as sip
import inc_sdp as sdp
pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \
"--username theuser1 --realm python1 --password passwd --next-cred " + \
"--username theuser2 --realm python2 --password passwd "... | [
[
1,
0,
0.0714,
0.0357,
0,
0.66,
0,
992,
0,
1,
0,
0,
992,
0,
0
],
[
1,
0,
0.1071,
0.0357,
0,
0.66,
0.2,
614,
0,
1,
0,
0,
614,
0,
0
],
[
14,
0,
0.2321,
0.1429,
0,
0.... | [
"import inc_sip as sip",
"import inc_sdp as sdp",
"pjsua = \"--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT \" + \\\n\t\"--username theuser1 --realm python1 --password passwd --next-cred \" + \\\n\t\"--username theuser2 --realm python2 --password passwd \" + \\\n\t\"--auto-update-nat=0\"",
"req1... |
# $Id: 230_reg_bad_fail_stale_true.py 2392 2008-12-22 18:54:58Z bennylp $
import inc_sip as sip
import inc_sdp as sdp
# In this test we simulate broken server, where it always sends
# stale=true with all 401 responses. We should expect pjsip to
# retry the authentication until PJSIP_MAX_STALE_COUNT is
# exceeded. When... | [
[
1,
0,
0.0488,
0.0244,
0,
0.66,
0,
992,
0,
1,
0,
0,
992,
0,
0
],
[
1,
0,
0.0732,
0.0244,
0,
0.66,
0.1429,
614,
0,
1,
0,
0,
614,
0,
0
],
[
14,
0,
0.3049,
0.0488,
0,
... | [
"import inc_sip as sip",
"import inc_sdp as sdp",
"pjsua = \"--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT \" + \\\n\t\"--realm=python --user=username --password=password\"",
"req1 = sip.RecvfromTransaction(\"Initial request\", 401,\n\t\t\t\tinclude=[\"REGISTER sip\"], \n\t\t\t\texclude=[\"Auth... |
# $Id: 201_reg_good_ok.py 2392 2008-12-22 18:54:58Z bennylp $
import inc_sip as sip
import inc_sdp as sdp
pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \
"--username user --realm python --password passwd --auto-update-nat=0"
req1 = sip.RecvfromTransaction("Initial registration", 401,
... | [
[
1,
0,
0.087,
0.0435,
0,
0.66,
0,
992,
0,
1,
0,
0,
992,
0,
0
],
[
1,
0,
0.1304,
0.0435,
0,
0.66,
0.2,
614,
0,
1,
0,
0,
614,
0,
0
],
[
14,
0,
0.2391,
0.087,
0,
0.66... | [
"import inc_sip as sip",
"import inc_sdp as sdp",
"pjsua = \"--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT \" + \\\n\t\"--username user --realm python --password passwd --auto-update-nat=0\"",
"req1 = sip.RecvfromTransaction(\"Initial registration\", 401,\n\t\t\t\tinclude=[\"REGISTER sip\"], \n... |
# $Id: mod_call.py 2078 2008-06-27 21:12:12Z nanang $
import time
import imp
import sys
import inc_const as const
from inc_cfg import *
# Load configuration
cfg_file = imp.load_source("cfg_file", ARGS[1])
# Check media flow between ua1 and ua2
def check_media(ua1, ua2):
ua1.send("#")
ua1.expect("#")
ua1.send("1122... | [
[
1,
0,
0.0088,
0.0044,
0,
0.66,
0,
654,
0,
1,
0,
0,
654,
0,
0
],
[
1,
0,
0.0133,
0.0044,
0,
0.66,
0.1111,
201,
0,
1,
0,
0,
201,
0,
0
],
[
1,
0,
0.0177,
0.0044,
0,
... | [
"import time",
"import imp",
"import sys",
"import inc_const as const",
"from inc_cfg import *",
"cfg_file = imp.load_source(\"cfg_file\", ARGS[1])",
"def check_media(ua1, ua2):\n\tua1.send(\"#\")\n\tua1.expect(\"#\")\n\tua1.send(\"1122\")\n\tua2.expect(const.RX_DTMF + \"1\")\n\tua2.expect(const.RX_DTMF... |
#!/usr/bin/python
import sys
import ccdash
if __name__ == "__main__":
sys.argv[0] = "ccdash.py"
sys.argv.insert(1, "scenario")
rc = ccdash.main(sys.argv)
sys.exit(rc)
| [
[
1,
0,
0.1818,
0.0909,
0,
0.66,
0,
509,
0,
1,
0,
0,
509,
0,
0
],
[
1,
0,
0.2727,
0.0909,
0,
0.66,
0.5,
39,
0,
1,
0,
0,
39,
0,
0
],
[
4,
0,
0.6364,
0.4545,
0,
0.66,... | [
"import sys",
"import ccdash",
"if __name__ == \"__main__\":\n\tsys.argv[0] = \"ccdash.py\"\n\tsys.argv.insert(1, \"scenario\")\n\trc = ccdash.main(sys.argv)\n\tsys.exit(rc)",
"\tsys.argv[0] = \"ccdash.py\"",
"\tsys.argv.insert(1, \"scenario\")",
"\trc = ccdash.main(sys.argv)",
"\tsys.exit(rc)"
] |
#!/usr/bin/python
import sys
import ccdash
if __name__ == "__main__":
sys.argv[0] = "ccdash.py"
sys.argv.insert(1, "scenario")
rc = ccdash.main(sys.argv)
sys.exit(rc)
| [
[
1,
0,
0.1818,
0.0909,
0,
0.66,
0,
509,
0,
1,
0,
0,
509,
0,
0
],
[
1,
0,
0.2727,
0.0909,
0,
0.66,
0.5,
39,
0,
1,
0,
0,
39,
0,
0
],
[
4,
0,
0.6364,
0.4545,
0,
0.66,... | [
"import sys",
"import ccdash",
"if __name__ == \"__main__\":\n\tsys.argv[0] = \"ccdash.py\"\n\tsys.argv.insert(1, \"scenario\")\n\trc = ccdash.main(sys.argv)\n\tsys.exit(rc)",
"\tsys.argv[0] = \"ccdash.py\"",
"\tsys.argv.insert(1, \"scenario\")",
"\trc = ccdash.main(sys.argv)",
"\tsys.exit(rc)"
] |
# Copyright (c) 2011 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 au... | [
[
8,
0,
0.5818,
0.8545,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n 'targets': [\n {\n 'target_name': 'webrtc_libyuv',\n 'type': '<(library)',\n 'conditions': [\n ['build_libyuv==1', {\n 'dependencies': ["
] |
# Copyright (c) 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 au... | [
[
8,
0,
0.5167,
0.8444,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n 'variables': {\n 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)',\n },\n 'targets': [\n {\n 'target_name': 'webrtc_jpeg',\n 'type': '<(library)',"
] |
# Copyright (c) 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 au... | [
[
8,
0,
0.8,
0.4667,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n 'includes': [\n '../build/common.gypi',\n 'libyuv/libyuv.gypi',\n 'jpeg/jpeg.gypi',\n ],\n}"
] |
# Copyright (c) 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 au... | [
[
8,
0,
0.5109,
0.8986,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n 'targets': [\n {\n 'target_name': 'vie_auto_test',\n 'type': 'executable',\n 'dependencies': [\n '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',\n '<(webrtc_root)/modules/modules.gyp:video_render_module',"
] |
# Copyright (c) 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 au... | [
[
8,
0,
0.5702,
0.8772,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n 'targets': [\n {\n 'target_name': 'libvietest',\n 'type': '<(library)',\n 'dependencies': [\n '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',\n '<(webrtc_root)/../testing/gtest.gyp:gtest',"
] |
# Copyright (c) 2011 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 au... | [
[
8,
0,
0.5238,
0.8452,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n 'conditions': [\n ['OS==\"win\"', {\n 'targets': [\n # WinTest - GUI test for Windows\n {\n 'target_name': 'vie_win_test',\n 'type': 'executable',"
] |
# Copyright (c) 2011 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 au... | [
[
8,
0,
0.5093,
0.9136,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n 'targets': [\n {\n 'target_name': 'video_engine_core',\n 'type': '<(library)',\n 'dependencies': [\n\n # common_video"
] |
# Copyright (c) 2011 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 au... | [
[
8,
0,
0.6538,
0.6538,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n 'includes': [\n '../build/common.gypi',\n './video_engine_core.gypi',\n ],\n\n # Test targets, excluded when building with Chromium.\n 'conditions': ["
] |
# Copyright (c) 2011 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 au... | [
[
8,
0,
0.5163,
0.8478,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n 'targets': [\n {\n 'target_name': 'webrtc_utility',\n 'type': '<(library)',\n 'dependencies': [\n 'audio_coding_module',\n '<(webrtc_root)/common_audio/common_audio.gyp:resampler',"
] |
# Copyright (c) 2011 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 au... | [
[
8,
0,
0.5224,
0.791,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n 'targets': [\n {\n 'target_name': 'media_file',\n 'type': '<(library)',\n 'dependencies': [\n 'webrtc_utility',\n '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',"
] |
# Copyright (c) 2011 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 au... | [
[
8,
0,
0.5214,
0.8,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n 'targets': [\n {\n 'target_name': 'audio_conference_mixer',\n 'type': '<(library)',\n 'dependencies': [\n 'audio_processing',\n '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',"
] |
# Copyright (c) 2011 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 au... | [
[
8,
0,
0.5125,
0.8833,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n 'targets': [\n {\n 'target_name': 'udp_transport',\n 'type': '<(library)',\n 'dependencies': [\n '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',\n ],"
] |
# Copyright (c) 2011 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 au... | [
[
8,
0,
0.575,
0.8667,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n 'includes': [\n '../build/common.gypi',\n 'audio_coding/codecs/cng/cng.gypi',\n 'audio_coding/codecs/g711/g711.gypi',\n 'audio_coding/codecs/g722/g722.gypi',\n 'audio_coding/codecs/ilbc/ilbc.gypi',\n 'audio_coding/codecs/iSAC/main/source/isac.gypi',"
] |
# Copyright (c) 2011 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 au... | [
[
8,
0,
0.5385,
0.641,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n 'targets': [\n {\n 'target_name': 'video_processing_unittests',\n 'type': 'executable',\n 'dependencies': [\n 'video_processing',\n 'webrtc_utility',"
] |
# Copyright (c) 2011 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 au... | [
[
8,
0,
0.5455,
0.8977,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n 'targets': [\n {\n 'target_name': 'video_processing',\n 'type': '<(library)',\n 'dependencies': [\n 'webrtc_utility',\n '<(webrtc_root)/common_audio/common_audio.gyp:signal_processing',"
] |
# Copyright (c) 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 au... | [
[
8,
0,
0.515,
0.9733,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n 'targets': [\n {\n 'target_name': 'NetEq',\n 'type': '<(library)',\n 'dependencies': [\n 'CNG',\n '<(webrtc_root)/common_audio/common_audio.gyp:signal_processing',"
] |
# Copyright (c) 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 au... | [
[
8,
0,
0.5099,
0.9079,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n 'targets': [\n {\n 'target_name': 'audio_coding_module',\n 'type': '<(library)',\n 'dependencies': [\n 'CNG',\n 'G711',"
] |
# Copyright (c) 2011 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 au... | [
[
8,
0,
0.5231,
0.7846,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n 'targets': [\n {\n 'target_name': 'G711',\n 'type': '<(library)',\n 'include_dirs': [\n 'include',\n ],"
] |
# Copyright (c) 2011 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 au... | [
[
8,
0,
0.5079,
0.9263,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n 'targets': [\n {\n 'target_name': 'iLBC',\n 'type': '<(library)',\n 'dependencies': [\n '<(webrtc_root)/common_audio/common_audio.gyp:signal_processing',\n ],"
] |
# Copyright (c) 2011 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 au... | [
[
8,
0,
0.5183,
0.8293,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n 'targets': [\n {\n 'target_name': 'iSACFix',\n 'type': '<(library)',\n 'dependencies': [\n '<(webrtc_root)/common_audio/common_audio.gyp:signal_processing',\n ],"
] |
# Copyright (c) 2011 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 au... | [
[
8,
0,
0.5165,
0.8462,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n 'targets': [\n {\n 'target_name': 'iSAC',\n 'type': '<(library)',\n 'dependencies': [\n '<(webrtc_root)/common_audio/common_audio.gyp:signal_processing',\n ],"
] |
# Copyright (c) 2011 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 au... | [
[
8,
0,
0.5455,
0.5758,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n 'targets': [\n # kenny\n {\n 'target_name': 'iSACFixtest',\n 'type': 'executable',\n 'dependencies': [\n 'iSACFix',"
] |
# Copyright (c) 2011 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 au... | [
[
8,
0,
0.5211,
0.8028,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n 'targets': [\n # simple kenny\n {\n 'target_name': 'iSACtest',\n 'type': 'executable',\n 'dependencies': [\n 'iSAC',"
] |
# Copyright (c) 2011 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 au... | [
[
8,
0,
0.5288,
0.7308,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n 'targets': [\n {\n 'target_name': 'PCM16B',\n 'type': '<(library)',\n 'include_dirs': [\n 'include',\n ],"
] |
# Copyright (c) 2011 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 au... | [
[
8,
0,
0.5154,
0.8,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n 'targets': [\n {\n 'target_name': 'G722',\n 'type': '<(library)',\n 'include_dirs': [\n 'include',\n ],"
] |
# Copyright (c) 2011 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 au... | [
[
8,
0,
0.5263,
0.7544,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n 'targets': [\n {\n 'target_name': 'CNG',\n 'type': '<(library)',\n 'dependencies': [\n '<(webrtc_root)/common_audio/common_audio.gyp:signal_processing',\n ],"
] |
# Copyright (c) 2011 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 au... | [
[
8,
0,
0.5068,
0.9361,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n 'targets': [\n {\n 'target_name': 'video_render_module',\n 'type': '<(library)',\n 'dependencies': [\n 'webrtc_utility',\n '<(webrtc_root)/common_video/common_video.gyp:webrtc_libyuv',"
] |
# Copyright (c) 2011 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 au... | [
[
8,
0,
0.5058,
0.9459,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n 'targets': [\n {\n 'target_name': 'video_capture_module',\n 'type': '<(library)',\n 'dependencies': [\n 'webrtc_utility',\n '<(webrtc_root)/common_video/common_video.gyp:webrtc_libyuv',"
] |
# Copyright (c) 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 au... | [
[
8,
0,
0.507,
0.9349,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n 'targets': [\n {\n 'target_name': 'audio_device',\n 'type': '<(library)',\n 'dependencies': [\n '<(webrtc_root)/common_audio/common_audio.gyp:resampler',\n '<(webrtc_root)/common_audio/common_audio.gyp:signal_processing',"
] |
# Copyright (c) 2011 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 au... | [
[
8,
0,
0.5135,
0.8739,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n 'targets': [\n {\n 'target_name': 'bwe_standalone',\n 'type': 'executable',\n 'dependencies': [\n 'matlab_plotting',\n 'rtp_rtcp',"
] |
# Copyright (c) 2011 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 au... | [
[
8,
0,
0.5429,
0.6,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n 'targets': [\n {\n 'target_name': 'test_bwe',\n 'type': 'executable',\n 'dependencies': [\n 'rtp_rtcp',\n '<(webrtc_root)/../test/test.gyp:test_support_main',"
] |
# Copyright (c) 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 au... | [
[
8,
0,
0.5417,
0.6111,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n 'targets': [\n {\n 'target_name': 'test_fec',\n 'type': 'executable',\n 'dependencies': [\n 'rtp_rtcp',\n '<(webrtc_root)/../test/test.gyp:test_support_main',"
] |
# Copyright (c) 2011 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 au... | [
[
8,
0,
0.5357,
0.6667,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n 'targets': [\n {\n 'target_name': 'test_rtp_rtcp_api',\n 'type': 'executable',\n 'dependencies': [\n 'rtp_rtcp',\n '<(webrtc_root)/../test/test.gyp:test_support_main',"
] |
# Copyright (c) 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 au... | [
[
8,
0,
0.53,
0.72,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n 'targets': [\n {\n 'target_name': 'rtp_rtcp_unittests',\n 'type': 'executable',\n 'dependencies': [\n 'rtp_rtcp',\n '<(webrtc_root)/../testing/gmock.gyp:gmock',"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.