mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refine code
This commit is contained in:
parent
e2bf9f3623
commit
e441702246
3 changed files with 42 additions and 38 deletions
|
@ -250,7 +250,10 @@ public:
|
|||
void set_timestamp(uint32_t v);
|
||||
uint32_t get_timestamp() const;
|
||||
void set_ssrc(uint32_t v);
|
||||
uint32_t get_ssrc() const;
|
||||
// SrsRtpHeader::get_ssrc
|
||||
inline uint32_t get_ssrc() const {
|
||||
return ssrc;
|
||||
}
|
||||
void set_padding(uint8_t v);
|
||||
uint8_t get_padding() const;
|
||||
void set_extensions(const SrsRtpExtensionTypes* extmap);
|
||||
|
@ -400,7 +403,7 @@ public:
|
|||
}
|
||||
// Get the status of object cache.
|
||||
// SrsRtpObjectCacheManager::enabled
|
||||
bool enabled() {
|
||||
inline bool enabled() {
|
||||
return enabled_;
|
||||
}
|
||||
// SrsRtpObjectCacheManager::size
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue