Skip to content

Commit

Permalink
Fixed ugly typo that could crash the VideoRoom (fixes #2352)
Browse files Browse the repository at this point in the history
  • Loading branch information
lminiero committed Sep 17, 2020
1 parent 308e6b4 commit ff9bd7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/janus_videoroom.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ room-<unique room ID>: {
is_private = true|false (private rooms don't appear when you do a 'list' request, default=false)
secret = <optional password needed for manipulating (e.g. destroying) the room>
pin = <optional password needed for joining the room>
require_pvtid = true|false (whether subscriptions are required to provide a valid private_id
require_pvtid = true|false (whether subscriptions are required to provide a valid private_id
to associate with a publisher, default=false)
publishers = <max number of concurrent senders> (e.g., 6 for a video
conference or 1 for a webinar, default=3)
Expand Down Expand Up @@ -4933,7 +4933,7 @@ void janus_videoroom_incoming_rtp(janus_plugin_session *handle, janus_plugin_rtp
json_object_set_new(info, "videoroom", json_string(participant->talking ? "talking" : "stopped-talking"));
json_object_set_new(info, "room", string_ids ? json_string(videoroom->room_id_str) : json_integer(videoroom->room_id));
json_object_set_new(info, "id", string_ids ? json_string(participant->user_id_str) : json_integer(participant->user_id));
json_object_set_new(event, "audio-level-dBov-avg", json_real(audio_dBov_avg));
json_object_set_new(info, "audio-level-dBov-avg", json_real(audio_dBov_avg));
gateway->notify_event(&janus_videoroom_plugin, session->handle, info);
}
}
Expand Down

0 comments on commit ff9bd7f

Please sign in to comment.