1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

drop metadata when drop sequence header. support PCUC 0x1a

This commit is contained in:
winlin 2015-08-19 14:20:31 +08:00
parent 2cf526ffc7
commit f691dddc1a
3 changed files with 73 additions and 17 deletions

View file

@ -1991,6 +1991,13 @@ enum SrcPCUCEventType
* kMsgPingRequest request.
*/
SrcPCUCPingResponse = 0x07,
/**
* for PCUC size=3, the payload is "00 1A 01",
* where we think the event is 0x001a, fms defined msg,
* which has only 1bytes event data.
*/
SrsPCUCFmsEvent0 = 0x1a,
};
/**
@ -2019,6 +2026,11 @@ public:
* @see: SrcPCUCEventType
*/
int16_t event_type;
/**
* the event data generally in 4bytes.
* @remark for event type is 0x001a, only 1bytes.
* @see SrsPCUCFmsEvent0
*/
int32_t event_data;
/**
* 4bytes if event_type is SetBufferLength; otherwise 0.