comparison tests/unit/test_plugin_xep_0167.py @ 4293:9447796408f6

tests (unit): add test for XEP-0298 plugin + fix XEP-0167: fix 447
author Goffi <goffi@goffi.org>
date Mon, 29 Jul 2024 03:49:26 +0200
parents f1d0cde61af7
children
comparison
equal deleted inserted replaced
4292:dd0891d0b22b 4293:9447796408f6
133 133
134 expected_session = { 134 expected_session = {
135 "audio": { 135 "audio": {
136 "application_data": { 136 "application_data": {
137 "media": "audio", 137 "media": "audio",
138 "msid-semantic": "WMS",
138 "payload_types": { 139 "payload_types": {
139 96: { 140 96: {
140 "clockrate": 48000, 141 "clockrate": 48000,
141 "id": 96, 142 "id": 96,
142 "name": "opus", 143 "name": "opus",
143 "parameters": {"sprop-stereo": "1"}, 144 "parameters": {"sprop-stereo": "1"},
144 } 145 }
145 }, 146 },
147 "senders": "both",
146 }, 148 },
147 "id": "audio", 149 "id": "audio",
148 "senders": "both", 150 "senders": "both",
149 "transport_data": { 151 "transport_data": {
150 "candidates": [ 152 "candidates": [