mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
HLS: Enable hls_ctx by default.
This commit is contained in:
parent
ca7b5a1c4e
commit
d39995cc31
4 changed files with 23 additions and 17 deletions
|
@ -1210,8 +1210,8 @@ VOID TEST(ProtocolHTTPTest, VodStreamHandlers)
|
|||
__MOCK_HTTP_EXPECT_STREQ(200, "Hello, world!", w);
|
||||
}
|
||||
|
||||
// TODO: should return "hls_ctx"
|
||||
if (false) {
|
||||
// Should return "hls_ctx"
|
||||
if (true) {
|
||||
SrsHttpMuxEntry e;
|
||||
e.pattern = "/";
|
||||
|
||||
|
@ -1228,8 +1228,8 @@ VOID TEST(ProtocolHTTPTest, VodStreamHandlers)
|
|||
__MOCK_HTTP_EXPECT_STRCT(200, "index.m3u8?hls_ctx=", w);
|
||||
}
|
||||
|
||||
// TODO: should return "hls_ctx"
|
||||
if (false) {
|
||||
// Should return "hls_ctx"
|
||||
if (true) {
|
||||
SrsHttpMuxEntry e;
|
||||
e.pattern = "/";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue