Skip to content

Commit

Permalink
Fixed errors creating VideoRoom when strings are used (see #1880)
Browse files Browse the repository at this point in the history
  • Loading branch information
lminiero committed Feb 28, 2020
1 parent a696c9b commit e2fb884
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions plugins/janus_videoroom.c
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,6 @@ static struct janus_json_parameter adminkey_parameters[] = {
{"admin_key", JSON_STRING, JANUS_JSON_PARAM_REQUIRED}
};
static struct janus_json_parameter create_parameters[] = {
{"room", JSON_INTEGER, JANUS_JSON_PARAM_POSITIVE},
{"description", JSON_STRING, 0},
{"is_private", JANUS_JSON_BOOL, 0},
{"allowed", JSON_ARRAY, 0},
Expand Down Expand Up @@ -1165,7 +1164,6 @@ static struct janus_json_parameter create_parameters[] = {
{"notify_joining", JANUS_JSON_BOOL, 0},
};
static struct janus_json_parameter edit_parameters[] = {
{"room", JSON_INTEGER, JANUS_JSON_PARAM_REQUIRED | JANUS_JSON_PARAM_POSITIVE},
{"secret", JSON_STRING, 0},
{"new_description", JSON_STRING, 0},
{"new_is_private", JANUS_JSON_BOOL, 0},
Expand Down

0 comments on commit e2fb884

Please sign in to comment.