video: added voice activity stream sorting, made stream sorting extensible
Video streams can be sorted by voice floor activity in the client according to FreeSWITCH´s floor events. The feature works together with pagination, essentially giving an Last-N like experience while not disrupting too much Made video stream sorting extensible in a way. The sorting modes for pagination and unbounded can be configured in settings.yml and new sorting modes can be added to the stream sorting util under video-provider. Inline docs explain how to do that Changed how the stream ID attribute from video-streams collection was passed to downstream components; we had an array map that was executed every change just to map stream to cameraId, which is bizarre. So I changed the cameraId usage in downstream components to be conformat with the collection attributes and shaved off the map where it wasnt needed Add better selectors to video-list-item container´s VoiceUser fetch
Showing
- bigbluebutton-html5/imports/api/video-streams/server/eventHandlers.js 2 additions, 0 deletions...n-html5/imports/api/video-streams/server/eventHandlers.js
- bigbluebutton-html5/imports/api/video-streams/server/handlers/floorChanged.js 12 additions, 0 deletions...imports/api/video-streams/server/handlers/floorChanged.js
- bigbluebutton-html5/imports/api/video-streams/server/modifiers/floorChanged.js 32 additions, 0 deletions...mports/api/video-streams/server/modifiers/floorChanged.js
- bigbluebutton-html5/imports/api/video-streams/server/modifiers/sharedWebcam.js 11 additions, 0 deletions...mports/api/video-streams/server/modifiers/sharedWebcam.js
- bigbluebutton-html5/imports/api/voice-users/server/eventHandlers.js 2 additions, 0 deletions...ton-html5/imports/api/voice-users/server/eventHandlers.js
- bigbluebutton-html5/imports/api/voice-users/server/handlers/floorChanged.js 10 additions, 0 deletions...5/imports/api/voice-users/server/handlers/floorChanged.js
- bigbluebutton-html5/imports/api/voice-users/server/modifiers/updateVoiceUser.js 2 additions, 0 deletions...ports/api/voice-users/server/modifiers/updateVoiceUser.js
- bigbluebutton-html5/imports/ui/components/user-list/service.js 1 addition, 0 deletions...uebutton-html5/imports/ui/components/user-list/service.js
- bigbluebutton-html5/imports/ui/components/video-provider/component.jsx 131 additions, 134 deletions...-html5/imports/ui/components/video-provider/component.jsx
- bigbluebutton-html5/imports/ui/components/video-provider/service.js 27 additions, 45 deletions...ton-html5/imports/ui/components/video-provider/service.js
- bigbluebutton-html5/imports/ui/components/video-provider/stream-sorting.js 127 additions, 0 deletions...l5/imports/ui/components/video-provider/stream-sorting.js
- bigbluebutton-html5/imports/ui/components/video-provider/video-list/component.jsx 16 additions, 16 deletions...rts/ui/components/video-provider/video-list/component.jsx
- bigbluebutton-html5/imports/ui/components/video-provider/video-list/video-list-item/container.jsx 2 additions, 1 deletion...s/video-provider/video-list/video-list-item/container.jsx
- bigbluebutton-html5/private/config/settings.yml 8 additions, 0 deletionsbigbluebutton-html5/private/config/settings.yml
Loading
Please register or sign in to comment