mirror of
https://github.com/mii443/libdatachannel.git
synced 2025-08-29 10:29:31 +00:00
Define methods inside namespace instead of using namespace
This commit is contained in:
@ -20,7 +20,7 @@
|
||||
|
||||
#include "opuspacketizationhandler.hpp"
|
||||
|
||||
using namespace rtc;
|
||||
namespace rtc {
|
||||
|
||||
OpusPacketizationHandler::OpusPacketizationHandler(std::shared_ptr<OpusRTPPacketizer> packetizer): RtcpHandler(), RTCPSenderReportable(packetizer->rtpConfig), packetizer(packetizer) {
|
||||
senderReportOutgoingCallback = [this](message_ptr msg) {
|
||||
@ -43,4 +43,6 @@ message_ptr OpusPacketizationHandler::outgoing(message_ptr ptr) {
|
||||
return ptr;
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
#endif /* RTC_ENABLE_MEDIA */
|
||||
|
Reference in New Issue
Block a user