diff --git a/scripts/pack.js b/scripts/pack.js index 9fd69be95..06a92b396 100755 --- a/scripts/pack.js +++ b/scripts/pack.js @@ -463,7 +463,8 @@ function isLibAllowed(libSrc) { 'libopenh264', 'libre', 'sipLib', - 'librawquic' + 'librawquic', + 'libowt_web_transport' ]; if (!options['archive'] || options['with-ffmpeg']) { whiteList.push('libav'); diff --git a/source/agent/addons/quic/QuicTransportConnection.h b/source/agent/addons/quic/QuicTransportConnection.h index d1b261aee..27ffa7900 100644 --- a/source/agent/addons/quic/QuicTransportConnection.h +++ b/source/agent/addons/quic/QuicTransportConnection.h @@ -44,10 +44,10 @@ class QuicTransportConnection : public Nan::ObjectWrap, public owt::quic::QuicTr // Overrides owt::quic::QuicTransportSessionInterface::Visitor. void OnIncomingStream(owt::quic::QuicTransportStreamInterface*) override; void OnCanCreateNewOutgoingStream(bool unidirectional) override { } - + void OnConnectionClosed() override { } + // Overrides QuicTransportStream::Visitor. void onEnded() override; - private: owt::quic::QuicTransportSessionInterface* m_session; Visitor* m_visitor; @@ -61,4 +61,4 @@ class QuicTransportConnection : public Nan::ObjectWrap, public owt::quic::QuicTr std::queue m_streamsToBeNotified; }; -#endif \ No newline at end of file +#endif diff --git a/source/agent/addons/quic/binding.gyp b/source/agent/addons/quic/binding.gyp index b3adccae9..33c8f5a35 100644 --- a/source/agent/addons/quic/binding.gyp +++ b/source/agent/addons/quic/binding.gyp @@ -56,9 +56,9 @@ 'libraries': [ '-ldl', '-llog4cxx', - '-lowt_quic_transport', + '-lowt_web_transport', '-lboost_system', '-lboost_thread', ], }] -} \ No newline at end of file +}