Commit Graph

141 Commits

Author SHA1 Message Date
prlanzarin
ea73a4d37a Fixed sfu ws regression and exceptions when recording not enabled in SFU 2018-04-26 15:39:24 +00:00
Lucas Fialho Zawacki
c04cddd61c Merge branch 'v2.0.x-release' of https://github.com/bigbluebutton/bigbluebutton into html5-video-recording 2018-04-26 02:14:29 +00:00
Lucas Fialho Zawacki
ebef86abbe Respcect the recorded=false authority 2018-04-26 01:52:48 +00:00
Lucas Fialho Zawacki
c99590fb36 Use mkv format for writing files 2018-04-26 01:34:34 +00:00
prlanzarin
1adc09660f Fixed hanging processes in bbb-webrtc-sfu 2018-04-25 22:43:33 +00:00
prlanzarin
fd40540464 Fixed event emitter leak in screenshare transcoder handling 2018-04-25 19:14:30 +00:00
prlanzarin
94801ddc3d Fixed MediaSession stop routine and status 2018-04-25 18:59:36 +00:00
prlanzarin
4cb7dcab7c Refactored WebRTC screenshare flow and fixed mcs-core event emission 2018-04-25 16:56:16 +00:00
Lucas Fialho Zawacki
cc8385011a Slightly different naming scheme for kurento recordings 2018-04-25 15:29:51 +00:00
Lucas Fialho Zawacki
e4a14011da Send a screenshare stop event directly from bbb-webrtc-sfu 2018-04-25 15:17:46 +00:00
Lucas Fialho Zawacki
8f1a128e24 Send webrtc screenshare event for recordings 2018-04-25 14:36:37 +00:00
Lucas Fialho Zawacki
5c40eb1651 Yet another step in adding html5 recording messages into redis 2018-04-24 22:49:16 +00:00
Lucas Fialho Zawacki
2d6143fb04 Record html5 screenshare in a different path 2018-04-24 19:30:18 +00:00
Lucas Fialho Zawacki
a4ddf580df Correct typo in BaseManager.js error log 2018-04-24 19:28:44 +00:00
Lucas Fialho Zawacki
7cdb3f495d Write the recording events for webrtc cameras properly in redis 2018-04-24 18:11:14 +00:00
Lucas Fialho Zawacki
11a93e1875 Add monotonic timestamp to Start/Stop share events 2018-04-23 20:28:00 +00:00
Lucas Fialho Zawacki
6bce22c554 Send shareWebcam events via bbb-webrtc-sfu 2018-04-23 19:17:17 +00:00
Lucas Fialho Zawacki
d088882c53 Merge remote-tracking branch 'upstream/v2.0.x-release' into html5-video-recording 2018-04-19 19:53:09 +00:00
Lucas Fialho Zawacki
29f64ce596 Catch some exceptions on recording and emit events once 2018-04-19 19:38:58 +00:00
Lucas Fialho Zawacki
13883d529e Screenshare recording and extract some recording behavior to to MediaSession 2018-04-19 17:08:28 +00:00
prlanzarin
d603098f38 Moved some of the session/ICE queue handling to base in screenshare manager 2018-04-19 16:43:52 +00:00
prlanzarin
78404e128c Starting providers refactor to fix screensharing pandemonium 2018-04-19 16:05:57 +00:00
prlanzarin
62209e9c1a Fixed screenshare viewers for non-h264 enforced streams
Also fixed error checkings
2018-04-18 18:27:51 +00:00
Lucas Fialho Zawacki
7cbd8454f0 Fix recording after merging with upstream 2018-04-16 21:44:19 +00:00
Lucas Fialho Zawacki
dc099cf843 Merge branch 'v2.0.x-release' of https://github.com/bigbluebutton/bigbluebutton into html5-video-recording 2018-04-16 20:30:35 +00:00
prlanzarin
52ecf277e0 Fixed finally clause on video.js and error handling calls on media session 2018-04-12 18:09:26 +00:00
prlanzarin
ef0459e22b Fixed h264 enforcement for WebRTC screenshare viewers 2018-04-12 17:54:53 +00:00
prlanzarin
50b8bbce72 Refactored media-server element checkings 2018-04-12 17:26:05 +00:00
prlanzarin
bf5413a7df Fixed WebRTC video stop procedures on media flow timeout cases 2018-04-12 16:40:32 +00:00
Lucas Fialho Zawacki
aeac7769b4 Configure enabling/disabling of recordings on html5 2018-04-11 21:11:43 +00:00
prlanzarin
261c34fca8 Removed leftover logging 2018-04-10 19:16:50 +00:00
prlanzarin
b8f54afdc8 Added config options to force h264 (video/screenshare) on SFU 2018-04-10 19:12:23 +00:00
Lucas Fialho Zawacki
38db6175bd Proper stopAndWait code for recordings 2018-04-10 17:38:42 +00:00
prlanzarin
a2a77c9f75 Fixed video stop on websocket closure and renamed the sessionId prop in video to connectionId 2018-04-10 17:20:34 +00:00
prlanzarin
cf838eca16 Fixed SFU session stop function checking 2018-04-10 15:58:13 +00:00
prlanzarin
67f49442b6 Fixed HTML5 viewer video stop flow 2018-04-10 14:55:42 +00:00
prlanzarin
553ea58fcc SFU responding to media server offline event and closing active media sessions 2018-04-10 14:49:24 +00:00
prlanzarin
a01154dbe9 Merge remote-tracking branch 'upstream/v2.0.x-release' into sfu-opt-next 2018-04-05 19:16:44 +00:00
Lucas Fialho Zawacki
4f598b7352 Only do recording after media flow 2018-04-04 20:26:11 +00:00
Lucas Fialho Zawacki
58241c0c76 Make recording names compatible with red5 2018-04-03 18:35:38 +00:00
Lucas Fialho Zawacki
e51a30b75d Initial video recording work for html5 2018-03-29 18:19:53 +00:00
Lucas Fialho Zawacki
ba56ac9296 Message file missing from bbb-webrtc-sfu UserBroadcastCamStop 2018-03-21 07:28:55 +00:00
Lucas Fialho Zawacki
65a2fb592f Merge branch 'v2.0.x-release' of https://github.com/bigbluebutton/bigbluebutton into video-dock-refactor 2018-03-20 17:22:11 +00:00
Lucas Fialho Zawacki
49debcfa8f Send UserBroadcastCamStop event when video media stops flowing 2018-03-19 17:50:38 +00:00
prlanzarin
6e126ba64e Added Kurento autoreconnect to bbb-webrtc-sfu 2018-03-15 21:39:45 +00:00
prlanzarin
7b60342cb0 Fixed WebRTC screenshare stop routine 2018-03-15 15:48:12 +00:00
prlanzarin
b55955cba3 Refactor SFU video session handling and made it use BaseManager 2018-03-14 20:44:47 +00:00
prlanzarin
1937890de1 Added BaseManager class and made ScreenshareManager extend it, pending VideoManager 2018-03-14 16:23:46 +00:00
prlanzarin
bdb72d60c1 Forcing H264 in HTML5 video 2018-03-14 14:38:18 +00:00
prlanzarin
36aebf39b0 SFU VideoManager using ES6 class and VideoProcess with BaseProcess 2018-03-14 00:22:32 +00:00
prlanzarin
4149e106f8 Removed test calls from BaseProcess 2018-03-13 21:06:33 +00:00
prlanzarin
16b52a1a41 Gracefully exiting screenshare process on SFU 2018-03-13 21:04:54 +00:00
Augusto Bennemann
efcd9340cc Adjusts on video dock refactor 2018-03-12 15:30:28 +00:00
prlanzarin
33f03be558 Implemented parent MediaSession at SFU mcs-core and did some cleanup 2018-03-10 23:55:55 +00:00
prlanzarin
6c8a6223e0 Some more work on error handling at kurento adapter 2018-03-09 14:16:12 +00:00
Anton Georgiev
c104d65ff6
Merge pull request #5213 from prlanzarin/sfu-optimizations
bbb-webrtc-sfu optimizations
2018-03-06 10:44:13 -05:00
Anton Georgiev
e0a0bd1935 minor adjustments to bbb-webrtc-sfu 2018-03-05 17:28:17 -05:00
Pedro Beschorner Marin
ebadcb22fa Trying to fix media FLOWING problem and including some extra debug logging 2018-02-26 17:01:35 +00:00
prlanzarin
944ea1665f Added Audio support to SFU and a new Freeswitch adapter 2018-02-07 14:17:34 +00:00
Lucas Fialho Zawacki
4dce4676cb Wait a while before closing streams if media stops flowing on bbb-webrtc-sfu 2018-02-01 18:02:22 +00:00
prlanzarin
5e384e2d4a bbb-webrtc-sfu now rotates logs daily 2018-01-30 13:50:43 +00:00
prlanzarin
281a14baf8 Merge remote-tracking branch 'upstream/v2.0.x-release' into sfu-logging 2018-01-29 22:51:53 +00:00
prlanzarin
a7a310481f Merge branch 'sfu-logging' into sfu-optimizations 2018-01-29 15:30:30 +00:00
prlanzarin
544e8853ba Fixed SFU pipeline fetching 2018-01-29 15:28:26 +00:00
prlanzarin
f9bd7a5e37 Tracking media pipeline active subscribers in SFU to properly clean them
Also did some more work on error handling at the kurento adapter
2018-01-29 15:10:05 +00:00
prlanzarin
438faef3d7 Renamed sfu process variable to avoid using reserved word 2018-01-29 15:08:45 +00:00
prlanzarin
30696c6b23 Further refining bbb-webrtc-sfu log messages 2018-01-28 18:29:49 +00:00
Lucas Fialho Zawacki
89debdb8a7 More refactors in bbb-webrtc-sfu js code 2018-01-26 19:58:02 +00:00
prlanzarin
6a9c610379 Refactored subprocesses handling in bbb-webrtc-sfu
They should now restart when crashing and shouldnt be stuck anymore
2018-01-26 19:10:01 +00:00
prlanzarin
9b36199908 Added detection and handling for when Kurento is offline to SFU adapter 2018-01-26 06:04:55 +00:00
prlanzarin
8500c0b80f Added better logging to SFU using Winston and made a cleanup on unused files 2018-01-26 04:33:40 +00:00
Lucas Fialho Zawacki
deb6efad09 HTML5 video refactor some js 2018-01-25 04:08:00 +00:00
prlanzarin
3fb91aa8b6 Better diferentiate ICE from different sessions in bbb-webrtc-sfu 2018-01-18 13:56:08 +00:00
Lucas Fialho Zawacki
b6abec579a Better clean up on the bbb-wbertc serverside to fix html5 video problems 2018-01-12 19:36:57 +00:00
Augusto Bennemann
67cb4b073b Error notifications for video and screenshare 2018-01-05 17:16:46 +00:00
Lucas Zawacki
06f8b56a82 Merge remote-tracking branch 'prlanzarin1/ghost-webcams' into html5-video-media-flow
Conflicts:
	bigbluebutton-html5/imports/ui/components/video-dock/component.jsx
2017-12-20 18:43:33 -02:00
Lucas Zawacki
7df986da3d Use more readable uids for bbb-webrtc-sfu 2017-12-20 18:23:56 -02:00
prlanzarin
362335f727 Made the users own webcam local instead of server-side 2017-12-20 20:06:27 +00:00
Lucas Zawacki
113aca16a2 Merge remote-tracking branch 'prlanzarin1/ghost-webcams' into html5-development-reconnect-issues
Conflicts:
	bigbluebutton-html5/imports/ui/components/video-dock/component.jsx
	labs/bbb-webrtc-sfu/lib/video/VideoManager.js
	labs/bbb-webrtc-sfu/lib/video/video.js
2017-12-20 17:20:56 -02:00
prlanzarin
2fb291cec2 Fixed video session management on bbb-webrtc-sfu
This should solve the most severe cases of ghost webcams
2017-12-20 18:01:27 +00:00
Lucas Zawacki
0974c69d48 Small fixes on the server and iceCandidate sending 2017-12-20 14:56:28 -02:00
Lucas Zawacki
4aac6d8413 Tweaks on the video media flow 2017-12-20 00:32:31 -02:00
Lucas Zawacki
ecda3f460e Don't send the 'media not flowing' event until we figure things out 2017-12-15 13:57:29 -02:00
Lucas Zawacki
a370285f0b Capture several errors and crashes in client and bbb-webrtc-sfu 2017-12-14 16:42:13 -02:00
Lucas Zawacki
4e2833aa07 Merge branch 'bbb-webrtc-sfu' of github.com:prlanzarin/bigbluebutton-1 into bbb-webrtc-sfu
Conflicts:
	bigbluebutton-html5/imports/ui/components/video-dock/component.jsx
2017-12-05 17:58:58 -02:00
Lucas Zawacki
1f2f5dc218 More reconnect logic and some translations 2017-12-01 21:40:25 -02:00
prlanzarin
4f22f7acab Correctly stopping WebRTC video sessions 2017-12-01 20:35:00 +00:00
prlanzarin
fdca5356c3 Finished making bbb-webrtc-sfu answer in single path
Started standardizing video and screenshare RPC messages

Video now uses redis message routing
2017-11-24 18:59:40 +00:00
prlanzarin
ce1b0ca85e Added voiceBridge parameter to akka-bbb-transcode
Also forcing h264-only video
2017-11-21 14:11:59 +00:00
prlanzarin
dcab1d8e07 Finished porting screensharing process to core media lib
Also added correct stop logic to the video process
2017-11-17 18:57:39 +00:00
prlanzarin
4fd4cc1eb1 Renaming node-bbb-apps to bbb-webrtc-sfu 2017-11-11 01:44:50 +00:00