Skip to content

Commit

Permalink
Merge pull request #13895 from youennf/video-codecs-addTransceiver
Browse files Browse the repository at this point in the history
Make video-codecs.https.html use addTransceiver
  • Loading branch information
alvestrand authored Nov 4, 2018
2 parents 18a053a + ceecc53 commit 6d93a8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webrtc/protocol/video-codecs.https.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
// Section 5: Browsers MUST implement VP8 and H.264 Constrained Baseline
promise_test(async t => {
const pc = new RTCPeerConnection();
const offer = await pc.createOffer({offerToReceiveVideo: true});
const offer = await generateVideoReceiveOnlyOffer(pc);
let video_section_found = false;
for (let section of offer.sdp.split(/\r\nm=/)) {
if (section.search('video') != 0) {
Expand Down

0 comments on commit 6d93a8a

Please sign in to comment.