Fixes to WebRTC capa
This commit is contained in:
parent
4d3f86aec1
commit
9b83002e69
3 changed files with 14 additions and 3 deletions
File diff suppressed because one or more lines are too long
|
@ -185,7 +185,11 @@ var MistUtil = {
|
|||
break;
|
||||
}
|
||||
case "webrtc": {
|
||||
return "WebRTC";
|
||||
return "WebRTC (WS)";
|
||||
break;
|
||||
}
|
||||
case "whep": {
|
||||
return "WebRTC (WHEP)";
|
||||
break;
|
||||
}
|
||||
case "silverlight": {
|
||||
|
|
|
@ -164,6 +164,7 @@ namespace Mist{
|
|||
void OutWebRTC::init(Util::Config *cfg){
|
||||
HTTPOutput::init(cfg);
|
||||
capa["name"] = "WebRTC";
|
||||
capa["friendly"] = "WebRTC";
|
||||
capa["desc"] = "Provides WebRTC output";
|
||||
capa["url_rel"] = "/webrtc/$";
|
||||
capa["url_match"] = "/webrtc/$";
|
||||
|
@ -175,10 +176,16 @@ namespace Mist{
|
|||
capa["codecs"][0u][1u].append("ULAW");
|
||||
capa["methods"][0u]["handler"] = "ws";
|
||||
capa["methods"][0u]["type"] = "webrtc";
|
||||
capa["methods"][0u]["hrn"] = "WebRTC";
|
||||
capa["methods"][0u]["hrn"] = "WebRTC with WebSocket signalling";
|
||||
capa["methods"][0u]["priority"] = 2;
|
||||
capa["methods"][0u]["nobframes"] = 1;
|
||||
|
||||
capa["methods"][1u]["handler"] = "http";
|
||||
capa["methods"][1u]["type"] = "whep";
|
||||
capa["methods"][1u]["hrn"] = "WebRTC with WHEP signalling";
|
||||
capa["methods"][1u]["priority"] = 5;
|
||||
capa["methods"][1u]["nobframes"] = 1;
|
||||
|
||||
capa["optional"]["preferredvideocodec"]["name"] = "Preferred video codecs";
|
||||
capa["optional"]["preferredvideocodec"]["help"] =
|
||||
"Comma separated list of video codecs you want to support in preferred order. e.g. "
|
||||
|
|
Loading…
Add table
Reference in a new issue