FS-11291 #resolve fix canvas id it was impossible to watch the first canvas

This commit is contained in:
Seven Du 2017-06-28 21:07:30 +08:00 committed by Andrey Volk
parent 68abd253fe
commit 26f4c98b21
1 changed files with 1 additions and 1 deletions

View File

@ -800,7 +800,7 @@ switch_status_t conference_member_add(conference_obj_t *conference, conference_m
if ((var = switch_channel_get_variable_dup(member->channel, "video_initial_watching_canvas", SWITCH_FALSE, -1))) {
int id = atoi(var) - 1;
if (id == 0) {
if (id == -1) {
id = conference->canvas_count;
}