blob: d17115c46af24eba05a812c683d3fc8d2b07d7c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<!doctype html>
<meta charset=utf-8>
<title>RTCRtpSender</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
'use strict';
test((t) => {
const pc = new RTCPeerConnection();
t.add_cleanup(() => pc.close());
const t1 = pc.addTransceiver("audio");
const t2 = pc.addTransceiver("video");
assert_not_equals(t1.sender.dtmf, null);
assert_equals(t2.sender.dtmf, null);
}, "Video sender @dtmf is null");
</script>
|