mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC: Refine RTP packet api, keep shared message to private
This commit is contained in:
parent
2ae7e22469
commit
58d71c23bc
7 changed files with 50 additions and 243 deletions
|
@ -109,6 +109,8 @@ public:
|
|||
SrsBuffer(char* b, int nn);
|
||||
~SrsBuffer();
|
||||
public:
|
||||
// Copy the object, keep position of buffer.
|
||||
SrsBuffer* copy();
|
||||
// Get the data and head of buffer.
|
||||
// current-bytes = head() = data() + pos()
|
||||
char* data();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue