Commit Graph

1815 Commits

Author SHA1 Message Date
prlanzarin
eb1a677b75 Only logging SFU errors at top level, added trace log level for intermediate stack debug 2018-06-04 16:14:38 +00:00
prlanzarin
d9f48afb5e Merge remote-tracking branch 'upstream/v2.0.x-release' into error-handling-sfu 2018-06-04 15:50:46 +00:00
prlanzarin
0ffe7e9dfb Some refactor to screenshare start procedures 2018-06-04 15:29:30 +00:00
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
Richard Alam
f754c5961c - make sure message from user actor to client actor is routed properly 2018-04-26 12:41:02 -07: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
Richard Alam
e3f1405746 - re-route messages 2018-04-24 12:53:36 -07: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
Richard Alam
e58c0a33ca - wire up message path 2018-04-24 11:26:00 -07:00
Lucas Fialho Zawacki
7cdb3f495d Write the recording events for webrtc cameras properly in redis 2018-04-24 18:11:14 +00:00
Richard Alam
bea20eafcb - try to wire up message bus 2018-04-23 15:49:07 -07: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
Richard Alam
10d6649889 - remove old buses 2018-04-21 09:29:37 -07:00
Richard Alam
e08680987d - use one common bus 2018-04-20 20:28:27 -07:00
Richard Alam
d97caceba3 - format gateway 2018-04-20 14:27:01 -07:00
Richard Alam
97056da519 - try to use flash to go through vertx 2018-04-20 14:13:31 -07: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
Richard Alam
4343d0ae1b - setup client actor 2018-04-16 17:56:14 -07: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
Richard Alam
7d1db2bedb - set up message bus 2018-04-13 19:03:00 -07:00
Richard Alam
0f1081a449 - set up actors 2018-04-12 19:17:26 -07: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
Richard Alam
08d5a6dbc7 - setup actors 2018-04-11 15:10:13 -07: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
Richard Alam
2418a0df08 - setup conn actor 2018-04-08 18:17:39 -07: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
Richard Alam
4c58cf6841 - see how to close socket 2018-04-04 19:58:01 -07: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
Richard Alam
33a14eafe2 - sockjs handler 2018-04-01 19:27:38 -07:00
Richard Alam
48b951b086 - upgrade vertx 2018-03-31 13:16:21 -07:00
Richard Alam
107e664c5b - rename handler 2018-03-29 14:33:59 -07:00
Richard Alam
31f42ddfa9 - try to figure out how to setup messaging 2018-03-29 14:19:02 -07:00
Lucas Fialho Zawacki
e51a30b75d Initial video recording work for html5 2018-03-29 18:19:53 +00:00
Richard Alam
f255b9559f - add bbb-apps-common 2018-03-28 13:00:29 -07:00
Richard Alam
5440bdd1a5 - setup wss in haproxy 2018-03-28 12:31:19 -07:00
Richard Alam
2315a1a353 - add vertx-akka 2018-03-27 18:09:35 -07: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
4da5bf2948 add gitignore to .bbb-webrtc-sfu 2018-03-05 17:29:05 -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
Augusto Bennemann
d5cda55220 Improve video adjusting code 2018-02-08 12:52:29 -02: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
9ee970ca36 Updated bbb-webrtc-sfu moment dependency 2018-01-26 04:42:38 +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