openvidu-server: "type" parameter on publishing IP cameras fixed to "IPCAM"

pull/405/head
pabloFuente 2020-02-19 14:53:43 +01:00
parent f35e380f97
commit e6dcb7941e
1 changed files with 1 additions and 1 deletions

View File

@ -731,7 +731,7 @@ public class SessionRestController {
"/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;
onlyPlayWithSubscribers = onlyPlayWithSubscribers != null ? onlyPlayWithSubscribers : true;
data = data != null ? data : "";