mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
c++14相关代码替换为c++11代码
This commit is contained in:
parent
7970138966
commit
af57691bc8
@ -148,10 +148,10 @@ bool HttpSession::checkWebSocket(){
|
||||
sendResponse(101, false, nullptr, headerOut, nullptr, true);
|
||||
};
|
||||
|
||||
auto res_cb_flv = [this, header = std::move(headerOut)]() mutable {
|
||||
auto res_cb_flv = [this, headerOut]() mutable {
|
||||
_live_over_websocket = true;
|
||||
header.emplace("Cache-Control", "no-store");
|
||||
sendResponse(101, false, nullptr, header, nullptr, true);
|
||||
headerOut.emplace("Cache-Control", "no-store");
|
||||
sendResponse(101, false, nullptr, headerOut, nullptr, true);
|
||||
};
|
||||
|
||||
//判断是否为websocket-flv
|
||||
|
Loading…
Reference in New Issue
Block a user