Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Commit 149b103

Browse files
committed
Address comments.
1 parent cdfd5a5 commit 149b103

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

source/agent/addons/quic/addon.cc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Copyright (C) 2020 Intel Corporation
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
17
#include "QuicTransportServer.h"
28
#include <node.h>
39

source/agent/quic/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ module.exports = function (rpcClient, selfRpcId, parentRpcId, clusterWorkerIP) {
127127
const streamPipeline = new QuicTransportStreamPipeline(streamId, status=>{
128128
notifyStatus(options.controller, streamId, direction, status)
129129
});
130-
// If an stream pipeline already exists, just replace the old.
130+
// If a stream pipeline already exists, just replace the old.
131131
let pipelineMap;
132132
if (direction === 'in') {
133133
pipelineMap = incomingStreamPipelines;

source/agent/quic/webtransport/quicTransportServer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ module.exports = class QuicTransportServer extends EventEmitter {
3838
if (!connection.transportId) {
3939
connection.close();
4040
}
41-
}, authenticationTimeout * 100000);
41+
}, authenticationTimeout * 1000000);
4242
connection.onincomingstream = (stream) => {
4343
log.info('New incoming stream.');
4444
stream.oncontentsessionid = (id) => {

source/agent/webrtc/rtcFrame/addon.cc

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,6 @@ void InitAll(Handle<Object> exports) {
1616
AudioFramePacketizer::Init(exports);
1717
VideoFrameConstructor::Init(exports);
1818
VideoFramePacketizer::Init(exports);
19-
#ifdef OMS_ENABLE_QUIC
20-
RTCQuicTransport::Init(exports);
21-
RTCIceTransport::Init(exports);
22-
RTCIceCandidate::Init(exports);
23-
RTCCertificate::Init(exports);
24-
QuicStream::Init(exports);
25-
#endif
2619
}
2720

2821
NODE_MODULE(addon, InitAll)

0 commit comments

Comments
 (0)