恢复 Chromium 推流入口为 index.html

parent ddae56c1
......@@ -12,7 +12,7 @@
#define BROWSER_URL_SIZE 768
#define MD5_HEX_SIZE 33
#define BROWSER_TEST_PAGE "index-test.html" /* 临时推流测试入口 */
#define BROWSER_STREAM_PAGE "index.html"
static char s_webcam[2048];//存放启动火狐网站命令
static char s_active_stream_url[BROWSER_URL_SIZE]; /* 最近一次启动 chromium 的推流网址 */
......@@ -580,9 +580,9 @@ static int browser_build_stream_urls(const char *url, char *base_url, size_t bas
while (prefix_end[-1] != '/') {
prefix_end--;
}
page = BROWSER_TEST_PAGE;
page = BROWSER_STREAM_PAGE;
} else {
page = "/" BROWSER_TEST_PAGE;
page = "/" BROWSER_STREAM_PAGE;
}
}
int prefix_length = snprintf(base_url, base_size, "%.*s%s", (int)(prefix_end - url), url, page);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment