mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC: Remove shared bytes, use shared msg
This commit is contained in:
parent
f794a7d3a7
commit
7b0a9fe95f
4 changed files with 15 additions and 20 deletions
|
@ -129,11 +129,8 @@ public:
|
|||
public:
|
||||
// The first byte as nalu type, for video decoder only.
|
||||
SrsAvcNaluType nalu_type;
|
||||
// The original bytes for decoder or bridger only, we will free it.
|
||||
// TODO: FIXME: Should covert to shared prt message.
|
||||
char* original_bytes;
|
||||
// The original msg for bridger only, we will free it.
|
||||
SrsSharedPtrMessage* original_msg;
|
||||
// The original shared message, all RTP packets can refer to its data.
|
||||
SrsSharedPtrMessage* shared_msg;
|
||||
// The frame type, for RTMP bridger or SFU source.
|
||||
SrsFrameType frame_type;
|
||||
// Fast cache for performance.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue