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

HLS: Add utest for HLS streaming.

This commit is contained in:
ChenHaibo 2022-06-16 10:43:15 +08:00 committed by winlin
parent 2c569f568c
commit ca7b5a1c4e
2 changed files with 9 additions and 4 deletions

View file

@ -1210,8 +1210,8 @@ VOID TEST(ProtocolHTTPTest, VodStreamHandlers)
__MOCK_HTTP_EXPECT_STREQ(200, "Hello, world!", w);
}
// should return "hls_ctx"
if (true) {
// TODO: should return "hls_ctx"
if (false) {
SrsHttpMuxEntry e;
e.pattern = "/";
@ -1228,8 +1228,8 @@ VOID TEST(ProtocolHTTPTest, VodStreamHandlers)
__MOCK_HTTP_EXPECT_STRCT(200, "index.m3u8?hls_ctx=", w);
}
// should return "hls_ctx"
if (true) {
// TODO: should return "hls_ctx"
if (false) {
SrsHttpMuxEntry e;
e.pattern = "/";