mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-05 10:58:11 +08:00
修复rtp不支持csrc、ext字段的bug
This commit is contained in:
@@ -64,6 +64,7 @@ public:
|
||||
uint16_t sequence;
|
||||
uint32_t ssrc;
|
||||
uint8_t payload[1560];
|
||||
uint8_t offset;
|
||||
TrackType type;
|
||||
};
|
||||
|
||||
@@ -211,8 +212,8 @@ typedef struct {
|
||||
unsigned type :5;
|
||||
} FU;
|
||||
|
||||
bool MakeNalu(char in, NALU &nal) ;
|
||||
bool MakeFU(char in, FU &fu) ;
|
||||
bool MakeNalu(uint8_t in, NALU &nal) ;
|
||||
bool MakeFU(uint8_t in, FU &fu) ;
|
||||
|
||||
|
||||
#endif //RTSP_RTSP_H_
|
||||
|
||||
Reference in New Issue
Block a user