提交 a3d68b1c authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

Nothing

上级 31b6e5ce
...@@ -455,30 +455,6 @@ tap.test( ...@@ -455,30 +455,6 @@ tap.test(
}); });
}); });
// TODO: uncomment when RTX implemented
// funcs.push(function()
// {
// return rtpReceiver.receive(
// {
// codecs :
// [
// {
// name : 'audio/opus',
// payloadType : 100,
// clockRate : 48000,
// rtx : {}
// }
// ]
// })
// .then(() => t.fail('rtpReceiver.receive() succeeded'))
// .catch((error) =>
// {
// t.pass(
// 'rtpReceiver.receive() without codec.rtx.payloadType failed: ' +
// `${error}`);
// });
// });
funcs.push(function() funcs.push(function()
{ {
return rtpReceiver.receive( return rtpReceiver.receive(
...@@ -506,7 +482,7 @@ tap.test( ...@@ -506,7 +482,7 @@ tap.test(
}); });
}); });
// TODO: uncomment when RTX implemented // TODO: Must fix this.
// funcs.push(function() // funcs.push(function()
// { // {
// return rtpReceiver.receive( // return rtpReceiver.receive(
...@@ -514,27 +490,27 @@ tap.test( ...@@ -514,27 +490,27 @@ tap.test(
// codecs : // codecs :
// [ // [
// { // {
// name : 'audio/opus', // kind : 'video',
// payloadType : 100, // name : 'video/vp8',
// clockRate : 48000, // payloadType : 110,
// rtx : // clockRate : 90000
// {
// payloadType : 0
// }
// }, // },
// { // {
// name : 'audio/PCMU', // kind : 'video',
// payloadType : 0, // name : 'video/rtx',
// clockRate : 8000 // payloadType : 97,
// clockRate : 90000,
// parameters :
// {
// apt : 111 // Wrong apt!
// }
// } // }
// ] // ]
// }) // })
// .then(() => t.fail('rtpReceiver.receive() succeeded')) // .then(() => t.fail('rtpReceiver.receive() succeeded'))
// .catch((error) => // .catch((error) =>
// { // {
// t.pass( // t.pass(`rtpReceiver.receive() wih wrong RTX apt failed: ${error}`);
// 'rtpReceiver.receive() with duplicated RTX payloadType failed: ' +
// `${error}`);
// }); // });
// }); // });
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论