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

fixed building issues related to quic_agent #1027

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion scripts/pack.js
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,8 @@ function isLibAllowed(libSrc) {
'libopenh264',
'libre',
'sipLib',
'librawquic'
'librawquic',
'libowt_web_transport'
];
if (!options['archive'] || options['with-ffmpeg']) {
whiteList.push('libav');
Expand Down
6 changes: 3 additions & 3 deletions source/agent/addons/quic/QuicTransportConnection.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -61,4 +61,4 @@ class QuicTransportConnection : public Nan::ObjectWrap, public owt::quic::QuicTr
std::queue<owt::quic::QuicTransportStreamInterface*> m_streamsToBeNotified;
};

#endif
#endif
4 changes: 2 additions & 2 deletions source/agent/addons/quic/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@
'libraries': [
'-ldl',
'-llog4cxx',
'-lowt_quic_transport',
'-lowt_web_transport',
'-lboost_system',
'-lboost_thread',
],
}]
}
}