mconf / bigbluebutton

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

Avoid displaying the playback interface before the media is playable #451

Closed pedrobmarin closed 6 years ago

pedrobmarin commented 6 years ago

We received some complains about slow Internet connections trying to watch the meeting recordings. The major issue here is probably the loading bar object that was displaying the playback interface before the media files were ready to play. Changed this to include the loading bar completion as an event to merge with the current events structure we listen to. The other problem I noticed was that the event we listen to signal media-ready for the video files (canplayall) is an event that doesn't fit in this slow Internet use case either. The next close event we could use is canplaythrough. It isn't a good option either because this kind of user will never get this event unless the media is completely loaded. I made some tests using just canplay and maybe this is the way to go.