Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📦 Hand RTP packets directly to JanusStream #106

Merged
merged 13 commits into from
Mar 15, 2021
Prev Previous commit
Next Next commit
Allow mutex to be used in const method
  • Loading branch information
danstiner committed Mar 13, 2021
commit 27a09368740890b465df5b2fad8105077f53b57c
2 changes: 1 addition & 1 deletion src/JanusStream.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,5 @@ class JanusStream : public RtpPacketSink
MediaMetadata mediaMetadata;
std::unordered_set<JanusSession*> viewerSessions;
std::list<Relay> relays;
std::mutex mutex;
mutable std::mutex mutex;
};