Track selector and language code support backported from Pro edition
This commit is contained in:
parent
58919a9346
commit
320c8ab29f
5 changed files with 792 additions and 2 deletions
|
@ -234,6 +234,9 @@ namespace Mist {
|
|||
crc = checksum::crc32(0, mixed_ua.data(), mixed_ua.size());
|
||||
}
|
||||
|
||||
if (H.GetVar("audio") != ""){targetParams["audio"] = H.GetVar("audio");}
|
||||
if (H.GetVar("video") != ""){targetParams["video"] = H.GetVar("video");}
|
||||
if (H.GetVar("subtitle") != ""){targetParams["subtitle"] = H.GetVar("subtitle");}
|
||||
//Handle upgrade to websocket if the output supports it
|
||||
if (doesWebsockets() && H.GetHeader("Upgrade") == "websocket"){
|
||||
INFO_MSG("Switching to Websocket mode");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue