mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
H265: Support HEVC over RTMP or HTTP-FLV. (#3272)
1. Support configure with --h265=on. 2. Parse HEVC(H.265) from FLV or RTMP packet. 3. Support HEVC over RTMP or HTTP-FLV. Co-authored-by: runner365 <shi.weibd@hotmail.com>
This commit is contained in:
parent
7e02d972ea
commit
178e40a5fc
17 changed files with 440 additions and 44 deletions
|
@ -3327,7 +3327,9 @@ VOID TEST(KernelCodecTest, CoverAll)
|
|||
EXPECT_TRUE(!v.acceptable((char*)"\xf0", 1));
|
||||
EXPECT_TRUE(!v.acceptable((char*)"\x10", 1));
|
||||
EXPECT_TRUE(!v.acceptable((char*)"\x1f", 1));
|
||||
EXPECT_TRUE(v.acceptable((char*)"\x13", 1));
|
||||
EXPECT_TRUE(v.acceptable((char*)"\x17", 1)); // AVC = 7
|
||||
EXPECT_TRUE(v.acceptable((char*)"\x1c", 1)); // HEVC = 12
|
||||
EXPECT_TRUE(v.acceptable((char*)"\x1d", 1)); // AV1 = 13
|
||||
}
|
||||
|
||||
if (true) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue