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

cosmetic

上级 321b2f7a
...@@ -129,7 +129,7 @@ test('ordered DataProducer delivers all messages to the DataConsumer', async () ...@@ -129,7 +129,7 @@ test('ordered DataProducer delivers all messages to the DataConsumer', async ()
const interval = setInterval(() => const interval = setInterval(() =>
{ {
const id = ++lastSentMessageId; const id = ++lastSentMessageId;
const data = Buffer.from(`${id}`); const data = Buffer.from(String(id));
// Set ppid of type WebRTC DataChannel string. // Set ppid of type WebRTC DataChannel string.
data.ppid = sctp.PPID.WEBRTC_STRING; data.ppid = sctp.PPID.WEBRTC_STRING;
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论