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

supprot LAS(live adaptive stream)

Change-Id: I2f9fd889fc924a3b080667bd2114f4632be461a0
This commit is contained in:
liulichuan 2020-05-11 00:50:14 +08:00 committed by winlin
parent 34e7db5a93
commit c1f98ddcc8
10 changed files with 843 additions and 10 deletions

View file

@ -290,6 +290,17 @@ public:
// video/audio packet use raw bytes, no video/audio packet.
char* payload;
#ifdef SRS_LAS
//if is video key frame, not include video sequence header
bool is_keyframe;
// if is {video sequence header|aac header|metadata}
bool is_header;
// for video pts = timstamp + cts, others pts = timestamp
int64_t pts;
public:
std::string to_str();
#endif
private:
class SrsSharedPtrPayload
{