mirror of
https://github.com/mii443/libdatachannel.git
synced 2025-12-03 11:08:33 +00:00
Use make_shared where possible
This commit is contained in:
@@ -34,7 +34,7 @@ class RTC_CPP_EXPORT H264RtpPacketizer final : public RtpPacketizer, public Medi
|
||||
|
||||
public:
|
||||
/// Default clock rate for H264 in RTP
|
||||
static const auto defaultClockRate = 90 * 1000;
|
||||
inline static const uint32_t defaultClockRate = 90 * 1000;
|
||||
|
||||
/// Nalunit separator
|
||||
enum class Separator {
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace rtc {
|
||||
class RTC_CPP_EXPORT OpusRtpPacketizer final : public RtpPacketizer, public MediaHandlerRootElement {
|
||||
public:
|
||||
/// default clock rate used in opus RTP communication
|
||||
static const uint32_t defaultClockRate = 48 * 1000;
|
||||
inline static const uint32_t defaultClockRate = 48 * 1000;
|
||||
|
||||
/// Constructs opus packetizer with given RTP configuration.
|
||||
/// @note RTP configuration is used in packetization process which may change some configuration
|
||||
|
||||
Reference in New Issue
Block a user