1
0
Fork 0
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:
Winlin 2022-11-23 08:34:13 +08:00 committed by GitHub
parent 7e02d972ea
commit 178e40a5fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 440 additions and 44 deletions

View file

@ -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) {