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

cosmetic

上级 f9e236cc
...@@ -89,12 +89,12 @@ beforeAll(async () => ...@@ -89,12 +89,12 @@ beforeAll(async () =>
}); });
} }
// Create a explicit SCTP outgoing stream with id 123 (id 0 is already used // Create an explicit SCTP outgoing stream with id 123 (id 0 is already used
// by the implicit SCTP outgoing stream built-in the SCTP socket). // by the implicit SCTP outgoing stream built-in the SCTP socket).
sendStreamId = 123; sendStreamId = 123;
sctpSendStream = sctpSocket.createStream(sendStreamId); sctpSendStream = sctpSocket.createStream(sendStreamId);
// Create DataProducer with the corresponding SCTP stream id. // Create a DataProducer with the corresponding SCTP stream id.
dataProducer = await transport.produceData( dataProducer = await transport.produceData(
{ {
sctpStreamParameters : sctpStreamParameters :
...@@ -118,7 +118,7 @@ afterAll(() => ...@@ -118,7 +118,7 @@ afterAll(() =>
worker.close(); worker.close();
}); });
test('ordered DataProducer delivers all messages to the DataConsumer', async () => test('ordered DataProducer delivers all SCTP messages to the DataConsumer', async () =>
{ {
const onStream = jest.fn(); const onStream = jest.fn();
const numMessages = 200; const numMessages = 200;
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论