mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 00:00:44 +00:00
FS-11291 #resolve fix canvas id it was impossible to watch the first canvas
This commit is contained in:
parent
68abd253fe
commit
26f4c98b21
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user