mconf / bigbluebutton

BigBlueButton is an open source web conferencing system for distance education
www.bigbluebutton.org
40 stars 33 forks source link

The event 'user_unshared_webcam_message' is being generated twice #304

Open mconf-daileon opened 8 years ago

mconf-daileon commented 8 years ago

Author Name: Leonardo Daronco (Leonardo Daronco) Original Redmine Issue: 1917, http://dev.mconf.org/redmine/issues/1917

Original Assignee: Felipe Cecagno


When the user unshares a webcam, the event "user_unshared_webcam_message" is being put twice into redis. Both events are very similar but are not exactly the same. The differences are that the first one has an empty "stream" attribute and the timestamp is updated when the second event is generated.

Example:

"bigbluebutton:from-bbb-apps:users" "{"payload":{"stream":"","userid":"ktgqbumup9na_2","recorded":false,"meeting_id":"05a1651bfda0d05f059940395de7cb68adf1b0d2-1453315706895"},"header":{"timestamp":1393534715,"name":"user_unshared_webcam_message","current_time":1453316789603,"version":"0.0.1"}}"

"bigbluebutton:from-bbb-apps:users" "{"payload":{"stream":"medium-ktgqbumup9na_2-1453316690923","userid":"ktgqbumup9na_2","recorded":false,"meeting_id":"05a1651bfda0d05f059940395de7cb68adf1b0d2-1453315706895"},"header":{"timestamp":1393534728,"name":"user_unshared_webcam_message","current_time":1453316789615,"version":"0.0.1"}}"
mconf-daileon commented 8 years ago

Original Redmine Comment Author Name: Rafael Petersen (Rafael Petersen) Original Date: 2016-02-15T20:22:05Z


I was unable to reproduce this scenario. Tested on Ubuntu 14.04 LTS, 64-bit on Firefox 44.0.1 and Google Chrome 48.0.2564.109. There was only one message for user user_unshared_webcam_message that had the "stream" attribute:

@bigbluebutton:from-bbb-apps:users" "{\"payload\":{\"stream\":\"medium-onorvg9rkb6d_2-1455567700831\",\"userid\":\"onorvg9rkb6d_2\",\"recorded\":false,\"meeting_id\":\"40bd001563085fc35165329ea1ff5c5ecbdbbeef-1455564961728\"},\"header\":{\"timestamp\":346835922,\"name\":\"user_unshared_webcam_message\",\"current_time\":1455567704636,\"version\":\"0.0.1\"}}@

Could you provide more details on how to reproduce this issue?

mconf-daileon commented 8 years ago

Original Redmine Comment Author Name: Rafael Petersen (Rafael Petersen) Original Date: 2016-02-16T20:01:53Z


I have tested this scenario in the 0.8.0 version and this no longer happens.