mirror of
https://github.com/servo/servo.git
synced 2025-10-08 20:49:24 +01:00
20 lines
507 B
HTML
20 lines
507 B
HTML
<!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>
|