mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine dvr and rtmp dump, write the original data.
This commit is contained in:
parent
a402ca7120
commit
5661fc2676
6 changed files with 15 additions and 10 deletions
|
@ -460,7 +460,7 @@ VOID TEST(KernelFlvTest, FlvEncoderWriteMetadata)
|
|||
};
|
||||
char pts[] = { (char)0x00, (char)0x00, (char)0x00, (char)19 };
|
||||
|
||||
ASSERT_TRUE(ERROR_SUCCESS == enc.write_metadata(md, 8));
|
||||
ASSERT_TRUE(ERROR_SUCCESS == enc.write_metadata(18, md, 8));
|
||||
ASSERT_TRUE(11 + 8 + 4 == fs.offset);
|
||||
|
||||
EXPECT_TRUE(srs_bytes_equals(tag_header, fs.data, 11));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue