Fix test formatting

This commit is contained in:
Kacper Rączy 2023-11-29 12:17:45 -08:00
parent 5f9c7db4ca
commit ccb7b7c032
2 changed files with 8 additions and 7 deletions

View File

@ -85,8 +85,8 @@ a=rtcp-fb:101 goog-remb
a=fmtp:101 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f a=fmtp:101 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
a=rtpmap:102 rtx/90000 a=rtpmap:102 rtx/90000
a=fmtp:102 apt=101 a=fmtp:102 apt=101
a=ice-ufrag:L7gR a=ice-ufrag:1234
a=ice-pwd:U2QG4cQreTFF8SuMtDwczY a=ice-pwd:1234
a=fingerprint:sha-256 70:3A:2D:37:3C:52:96:0E:10:F6:4D:7A:EB:18:38:1B:FD:CA:A5:90:D7:6C:DA:A9:39:76:C9:2F:FB:FF:56:0C a=fingerprint:sha-256 70:3A:2D:37:3C:52:96:0E:10:F6:4D:7A:EB:18:38:1B:FD:CA:A5:90:D7:6C:DA:A9:39:76:C9:2F:FB:FF:56:0C
a=setup:actpass""" a=setup:actpass"""
info = parse_info_from_offer(lf2crlf(sdp)) info = parse_info_from_offer(lf2crlf(sdp))
@ -115,8 +115,8 @@ a=ssrc:1233332626 cname:ca4dede8-4994-4a6d-9ae3-923b28177ca5
a=rtpmap:96 opus/48000/2 a=rtpmap:96 opus/48000/2
a=rtpmap:0 PCMU/8000 a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000 a=rtpmap:8 PCMA/8000
a=ice-ufrag:kzUw a=ice-ufrag:1234
a=ice-pwd:zltaGj4AKjLq17qay3XUA5 a=ice-pwd:1234
a=fingerprint:sha-256 40:4B:14:CF:70:B8:67:E1:B1:FF:7E:F9:22:6E:60:7D:73:B5:1E:38:4B:10:20:9C:CD:1C:47:02:52:ED:45:25 a=fingerprint:sha-256 40:4B:14:CF:70:B8:67:E1:B1:FF:7E:F9:22:6E:60:7D:73:B5:1E:38:4B:10:20:9C:CD:1C:47:02:52:ED:45:25
a=setup:actpass""" a=setup:actpass"""
info = parse_info_from_offer(lf2crlf(sdp)) info = parse_info_from_offer(lf2crlf(sdp))
@ -137,8 +137,8 @@ c=IN IP4 0.0.0.0
a=mid:0 a=mid:0
a=sctpmap:5000 webrtc-datachannel 65535 a=sctpmap:5000 webrtc-datachannel 65535
a=max-message-size:65536 a=max-message-size:65536
a=ice-ufrag:gJlk a=ice-ufrag:1234
a=ice-pwd:UEbnBKS8SihwKnPcx0hiY1 a=ice-pwd:1234
a=fingerprint:sha-256 9B:C0:F3:35:8E:05:A1:15:DB:F8:39:0E:B0:E0:0C:EB:82:E4:B9:26:18:A6:43:2D:B9:9A:23:96:0A:59:B6:58 a=fingerprint:sha-256 9B:C0:F3:35:8E:05:A1:15:DB:F8:39:0E:B0:E0:0C:EB:82:E4:B9:26:18:A6:43:2D:B9:9A:23:96:0A:59:B6:58
a=setup:actpass""" a=setup:actpass"""
info = parse_info_from_offer(lf2crlf(sdp)) info = parse_info_from_offer(lf2crlf(sdp))

View File

@ -34,6 +34,7 @@ class SimpleAnswerProvider:
return answer return answer
class TestStreamIntegration(unittest.IsolatedAsyncioTestCase): class TestStreamIntegration(unittest.IsolatedAsyncioTestCase):
@parameterized.expand([ @parameterized.expand([
# name, recv_cameras, recv_audio, messaging # name, recv_cameras, recv_audio, messaging