Commit Graph

199 Commits

Author SHA1 Message Date
prlanzarin
556b2c006b Added failover to prevent hanging processes in SFU 2018-06-04 15:08:42 +00:00
prlanzarin
bccb8d51a8 Fixed bitrate methods and ICE calls in screenshare 2018-06-04 15:07:20 +00:00
Lucas Fialho Zawacki
49843ad2e1 Throw recording events 2018-05-29 17:22:14 +00:00
Lucas Fialho Zawacki
4b2df07667 Fix webcam recording when changing orientation in a mobile device 2018-05-28 19:16:20 +00:00
Anton Georgiev
658b9d81b3
Merge pull request #5512 from lfzawacki/use-get-recording-status
Use GetRecordingStatus message to start recordings from the bbb-webrtc-sfu side
2018-05-28 13:55:30 -04:00
prlanzarin
a9073c7c45 Refactor of mcs-core/SFU error handling to prevent unhandled exceptions and make way for error classes 2018-05-28 13:23:41 +00:00
Lucas
48827ce2c5
Add from-akka field to config/default.example.yml 2018-05-25 14:15:28 -03:00
Lucas Fialho Zawacki
e3b0578c49 Small fixes to recording code 2018-05-17 16:58:06 +00:00
Anton Georgiev
7b4d0781ed
Merge pull request #5508 from prlanzarin/keyframe-interval
Added support for a configurable keyframe interval for screensharing
2018-05-10 14:00:38 -04:00
Lucas Fialho Zawacki
d83178c196 Merge branch 'v2.0.x-release' of https://github.com/bigbluebutton/bigbluebutton into use-get-recording-status 2018-05-10 17:39:14 +00:00
Lucas Fialho Zawacki
120f7767a4 Fixing bbbgw messages for recording and doing video using GetRecordingStatus 2018-05-10 17:37:26 +00:00
prlanzarin
21e3dbab30 Added support for configurable keyframe interval 2018-05-10 14:30:15 +00:00
Fred Dixon
21a6dfecda
Merge pull request #5506 from prlanzarin/update-dep-sfu
Updated bbb-webrtc-sfu dependencies
2018-05-09 19:58:21 -04:00
prlanzarin
d1477943bd Updated bbb-webrtc-sfu dependencies 2018-05-09 23:56:36 +00:00
Lucas Fialho Zawacki
2d222b7b2e Merge branch 'v2.0.x-release' of https://github.com/bigbluebutton/bigbluebutton into use-get-recording-status 2018-05-09 19:02:31 +00:00
Anton Georgiev
8327e6fb94
Merge pull request #5501 from prlanzarin/fix-ss-distortion
Preserving WebRTC screenshare aspect ratio in video-broadcast
2018-05-09 12:47:15 -04:00
Anton Georgiev
4123d11dce
Merge pull request #5490 from prlanzarin/ws-leak-fix
Fixed event emitter leak at SFU websocket and video session stop
2018-05-09 12:24:54 -04:00
prlanzarin
e05235d684 Removed uneeded meetingId checks 2018-05-09 00:35:20 +00:00
prlanzarin
9e0b70bfed Fixed screenshare gateway listeners 2018-05-09 00:28:07 +00:00
Lucas Fialho Zawacki
8a267834c9 Using GetRecordingStatusRequest to decide if we should record screenshare 2018-05-08 21:50:13 +00:00
Anton Georgiev
32309b0c3f
Merge pull request #5480 from lfzawacki/stop-streams
Pause streams on media server to save bandwith and processing
2018-05-08 15:53:19 -04:00
prlanzarin
c432ded178 Fixed WebRTC video stop on websocket closure 2018-05-08 17:54:20 +00:00
prlanzarin
d092edc6b1 Refactored websocket connection manager and fixed event emitter leak 2018-05-08 17:29:04 +00:00
prlanzarin
eb8e7a3844 Making WebRTC-only screensharing possible without transcode/red5/broadcast apps 2018-05-07 20:43:58 +00:00
Lucas Fialho Zawacki
c7bbb847d8 Small html5 stop streams corrections 2018-05-07 17:52:44 +00:00
prlanzarin
14f74fb223 Merge remote-tracking branch 'upstream/v2.0.x-release' into sfu-opt-audio 2018-05-07 17:43:42 +00:00
prlanzarin
940458504a Fixed stop routines for audio in SFU 2018-05-07 17:34:20 +00:00
Lucas Fialho Zawacki
6fcdc61e69 Merge branch 'v2.0.x-release' of https://github.com/bigbluebutton/bigbluebutton into stop-streams 2018-05-07 17:12:44 +00:00
prlanzarin
4a9ba0b37a Added kurento audio bridge callbacks and sip.js depency to SFU 2018-05-07 13:39:39 +00:00
Anton Georgiev
195b688676 enable kurento screenshare recording, disable red5 video-broadcast ss recording 2018-05-04 21:22:22 +00:00
Lucas Fialho Zawacki
aed6ffc3cb Pausing streams server side when client is not vieweing them 2018-05-04 20:58:35 +00:00
prlanzarin
b52b059086 Fixed recording stop in SFU 2018-05-03 21:56:03 +00:00
prlanzarin
01f87d2718 Added websocket ping pong to SFU clients
Also updated SFUs package-lock
2018-05-03 13:57:03 +00:00
prlanzarin
c2143f9a50 Added first working versions of join/exitAudio for kurento bridge and fixed SFU session termination for freeswitch adapter 2018-04-29 00:18:54 +00:00
prlanzarin
47120111dd Fixed adapter calls in SFU and added bridge hooks for kurento listen only 2018-04-27 21:37:41 +00:00
prlanzarin
0610d82eb7 SFU audio module now uses BaseProcess and BaseManager 2018-04-27 20:16:48 +00:00
prlanzarin
10fe1d6a00 Fixed parameterization of name and adapter on mcs-core
It was broken on merging upstream
2018-04-27 20:16:35 +00:00
Pedro Beschorner Marin
1523305b4b Fixed bad index 2018-04-27 19:46:22 +00:00
Pedro Beschorner Marin
d92796f255 Listen to disconnect users from server to eject the remaining audio participants 2018-04-27 19:46:11 +00:00
Pedro Beschorner Marin
722ab679e3 Included extra BigBlueButton messages to connect a listen only user 2018-04-27 19:45:17 +00:00
prlanzarin
11e6c445da Added freeswitch config to SFU default.example.yml 2018-04-27 19:43:48 +00:00
prlanzarin
3b329f1c71 Merge remote-tracking branch 'upstream/v2.0.x-release' into sfu-opt-audio 2018-04-27 19:42:33 +00:00
prlanzarin
9fe4fecf2c Improved chrome screensharing constraints and fixed SFU exception 2018-04-27 14:37:18 +00:00
Lucas Fialho Zawacki
b38a096ed5 Fix some typos and wrong code in bbb-webrtc-sfu 2018-04-26 22:15:25 +00:00
Lucas Fialho Zawacki
08a86d2a5f Expire all the recordings keys generate by bbb-webrtc-sfu in 14 days 2018-04-26 21:48:43 +00:00
Lucas Fialho Zawacki
61e08b4396 REALLY respect recorded=false authority when recording on HTML5 2018-04-26 21:29:46 +00:00
Lucas Fialho Zawacki
a2b670174b Merge branch 'final-recordings' into html5-video-recording 2018-04-26 16:43:18 +00:00
prlanzarin
0a68c5d9b2 Another round of fixes to screenshare hanging process and additional logging 2018-04-26 16:22:20 +00:00
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
Lucas Fialho Zawacki
f47737f7f5 Have html5 recordings as disabled in the example config file 2018-04-25 20:28:40 +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
1f153dcbf7 Merge remote-tracking branch 'upstream/v2.0.x-release' into sft 2018-04-10 14:53:44 +00:00
prlanzarin
553ea58fcc SFU responding to media server offline event and closing active media sessions 2018-04-10 14:49:24 +00:00
Fred Dixon
61ad7072c6 Updated log path 2018-04-10 06:19:15 -05:00
Augusto Bennemann
0085b4122b Fix call to isError() on SFU's media-server.js 2018-04-06 12:37:09 -03: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