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

for #730, refine code to decode the acknowledge message

This commit is contained in:
winlin 2017-01-06 13:16:25 +08:00
parent 759c84a395
commit dc1f227aeb
3 changed files with 21 additions and 2 deletions

View file

@ -1847,6 +1847,9 @@ public:
public:
SrsAcknowledgementPacket();
virtual ~SrsAcknowledgementPacket();
// decode functions for concrete packet to override.
public:
virtual int decode(SrsBuffer* stream);
// encode functions for concrete packet to override.
public:
virtual int get_prefer_cid();