mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: "type" parameter on publishing IP cameras fixed to "IPCAM"
parent
f35e380f97
commit
e6dcb7941e
|
@ -731,7 +731,7 @@ public class SessionRestController {
|
||||||
"/api/sessions/" + sessionId + "/connection", HttpStatus.BAD_REQUEST);
|
"/api/sessions/" + sessionId + "/connection", HttpStatus.BAD_REQUEST);
|
||||||
}
|
}
|
||||||
|
|
||||||
type = type != null ? type : "IPCAM";
|
type = "IPCAM"; // Other possible values in the future
|
||||||
adaptativeBitrate = adaptativeBitrate != null ? adaptativeBitrate : true;
|
adaptativeBitrate = adaptativeBitrate != null ? adaptativeBitrate : true;
|
||||||
onlyPlayWithSubscribers = onlyPlayWithSubscribers != null ? onlyPlayWithSubscribers : true;
|
onlyPlayWithSubscribers = onlyPlayWithSubscribers != null ? onlyPlayWithSubscribers : true;
|
||||||
data = data != null ? data : "";
|
data = data != null ? data : "";
|
||||||
|
|
Loading…
Reference in New Issue