Commit Graph

27118 Commits

Author SHA1 Message Date
prlanzarin
0a36da1e46 screensharing: remake error locales, split them into error classes
There are new locale strings for screensharing errors with a new format (Code X. #What to do) to make it easier for the end user
2021-01-13 09:43:28 -03:00
prlanzarin
25f5139973 screenshare: clean up getDisplayMedia method bindings 2021-01-13 09:05:24 -03:00
prlanzarin
077369c442 screenshare: add a centralized error code/message helper 2021-01-13 09:05:18 -03:00
prlanzarin
9a916878f9 sfu: split broker errors into different classes
Will be used in subsequent changes to allow us to compose them into error normalization procedures
2021-01-13 09:05:12 -03:00
prlanzarin
b4ac2e7fd3 Bump min Firefox (desktop) version to 68
Rationale: removed support for gUM based screen sharing. Uses getDisplayMedia now, minimum FF 68 and Chrome 72
2021-01-13 09:04:59 -03:00
prlanzarin
c9220a48b7 screenshare: remove deprecated chrome extension configs 2021-01-13 09:04:52 -03:00
prlanzarin
6f16154035 screenshare: logging/trailing lines cleanup 2021-01-13 09:04:46 -03:00
prlanzarin
c247bf46e7 screenshare: cleanup actions-bar onFailure callback 2020-12-15 17:45:57 +00:00
prlanzarin
569ace358b screenshare: improve reconnection procedures and error logging in kurento/sfu bridge 2020-12-15 17:45:20 +00:00
prlanzarin
1383ab4def screenshare/html5: rewrite most of the client side code
Added new SFU broker for screen sharing

Removed kurento-extension entirely

Added inbound and outbound reconnection procedures

Improve UI responsiveness when sharing

Add reconnection UI states

Redo error handling

Refactor actions-bar screen share components. Make it smarter with less prop drilling and less re-rendering. Also more readable. Still work to do in that I think

Add a connection retry procedure for screen presenters when they are sharing; try a configurable amount of times when failure is triggered, with configurable min and max reconn timeouts and timeout increase factor

Make local preview attachment smarter

ADD PARTIAL SUPPORT FOR AUDIO SHARING VIA SCREEN SHARING WITH GET DISPLAY MEDIA, RECORDING STILL NOT SUPPORTED!!!
2020-12-09 22:00:54 +00:00
prlanzarin
e57daf55db [screenshare] Add new SFU screen sharing negotiation broker
A replacement to the old kurento-extension script which is to be considered legacy code
2020-12-09 18:46:30 +00:00
prlanzarin
69e5891624 [screenshare]: improve screenshare service findOne calls 2020-12-08 20:30:40 +00:00
prlanzarin
f24460192c screeshare+audio: reorganize some audio checks, pass the flag to SFU 2020-12-08 20:30:30 +00:00
germanocaumo
83fe68db08 Play screenshare audio when present 2020-12-08 20:30:22 +00:00
prlanzarin
d6fdd79412 sfu-base-broker: add beforeunload listener to avoid logging false positive errors 2020-12-08 20:19:03 +00:00
prlanzarin
218c6a6549 [audio-manager] Add bridge name to callback logging and fix listen only audio exit 2020-12-01 18:24:24 +00:00
prlanzarin
1bef5f37a6 [sip.js] Annotate every audio-manager callback call with a bridge name identifier
Useful when parsing logs to split errors by bridge type
2020-12-01 18:23:14 +00:00
prlanzarin
338e8f8291 [listenonly] Rewrite listen only SFU/Kurento bridge
Fixed listen only reconnection handling

Added proper error handling; now all errors have proper mapped codes which are funneled through to audio-manager logger and should be easier to gauge types of errors

Fixed botched reconnection error rejection, audio modal shouldnt be stuck anymore when it fails

Remove every tie that listen only bridge had to kurento-extension
2020-12-01 18:19:31 +00:00
prlanzarin
0077a83ef5 [html5/webrtc] Add a centralized util to load and play a media element with proper error handling
To be used with bbb-webrtc-sfu based media brokers
2020-12-01 18:10:17 +00:00
prlanzarin
a7559a6b7d [listenonly] Add new SFU listen only negotiation broker
A replacement to the old kurento-extension script which is to be considered legacy code
2020-12-01 18:09:10 +00:00
prlanzarin
a49aa0a1ca [html5/webrtc] Added proper error handling in bbb-webrtc-sfu base broker
Moved bbb-webrtc-sfu utilitaries to properly named folder

Logging improvements to base broker

Added onerror/onstart/onended callback interfaces to base broker
2020-12-01 18:06:50 +00:00
prlanzarin
b86b7323e7 [html5/webrtc] Add base class for an isolated webrtc-sfu signalling broker
Extracts most of the common bbb-webrtc-sfu WebSocket setup, handshaking and message broker procedures that was scattered among HTML5 components (video, screenshare and listen only) into a base class suitable for inheritance
2020-12-01 17:13:34 +00:00
prlanzarin
9875876b5e media: add a webrtc service utilitary to propagate peer state changes 2020-12-01 17:12:39 +00:00
Anton Georgiev
3f6114b1cf
Merge pull request #10941 from timm2k/patch-5
Empty After= may confuses systemd
2020-12-01 10:30:33 -05:00
timm2k
0586cce81f
Empty After= may confuses systemd
Empty After= may confuses systemd
2020-12-01 15:52:41 +01:00
Anton Georgiev
e62710298d
Fix typo 2020-11-30 15:59:12 -05:00
Anton Georgiev
fb6bd35ac8
Merge pull request #10935 from jfsiebel/fix-edge-case-voice-user-clear
Prevent voiceUser clean for entire server
2020-11-30 15:38:01 -05:00
Joao Siebel
c0f42a3c07 Add missing semicolon 2020-11-30 17:11:57 -03:00
Joao Siebel
77d493792f Prevent a case where voiceUser collection was being clean for entire server 2020-11-30 17:01:41 -03:00
Anton Georgiev
6d258ac223
Merge pull request #10925 from lkiesow/mirror-cameras
Allow mirroring individual webcams
2020-11-30 11:14:22 -05:00
Anton Georgiev
5867649893
Merge pull request #10930 from lkiesow/fix-typo-in-bbb-record
Fix Typo in bbb-record
2020-11-30 11:12:48 -05:00
Lars Kiesow
b24acfdef2
Fix Typo in bbb-record
This patch fixes a typo in bbb-record causing problems by checking the
bigbluebtuuon user.
2020-11-30 13:44:10 +01:00
Lars Kiesow
74efe8735b
Allow mirroring individual webcams
BigBlueButton already allows mirroring the users own webcam as a global
setting set by administrators. Users have no way of choosing this on
their own.

This patch turns this functionality into a user setting for all webcams.
Every camera menu now gets a “mirror” entry.

The global setting is still used as a default value, keeping the current
behavior as it is to not confuse users.
2020-11-29 20:54:01 +01:00
Anton Georgiev
9ec2920c96
Bump up release to 2.2.31 2020-11-27 17:05:02 -05:00
Fred Dixon
fcf85e835f
Merge pull request #10920 from ffdixon/bbb-conf-check-null
Mask output of which command
2020-11-27 16:42:14 -05:00
Fred Dixon
4dc33a2ac6 Mask output of which command 2020-11-27 15:40:44 -06:00
Anton Georgiev
0225a6a97f
Merge pull request #10918 from lfzawacki/v2.2.x-release
First version of a PeerTube player
2020-11-27 16:35:09 -05:00
Anton Georgiev
f39e2eb0bb
Merge pull request #10902 from jfsiebel/remove-callbacks
Remove callbacks from mongo operations
2020-11-27 15:58:47 -05:00
Anton Georgiev
ea8f17554a
Merge pull request #10917 from antobinary/adjust-logs
Pulled HTML5 locales, Nov 27, 2020
2020-11-27 12:09:25 -05:00
Anton Georgiev
12c45a3393 Pulled HTML5 locales, Nov 27, 2020 2020-11-27 11:44:01 -05:00
Tiago D J
1e4c634dd9
Merge branch 'v2.2.x-release' into remove-callbacks 2020-11-27 13:43:36 -03:00
Anton Georgiev
fcd47b5371
Merge pull request #10910 from antobinary/adjust-logs
Reduce server side logging
2020-11-26 15:49:24 -05:00
Anton Georgiev
08a0a38f30 do not log client issues to Winston, only via nginx 2020-11-26 15:39:04 -05:00
Lucas Zawacki
7c704c78c1 PeerTube player, first version 2020-11-26 17:33:08 -03:00
Anton Georgiev
698199454c Reduce cursor logging, fix ExternalVideo object logging 2020-11-26 15:31:00 -05:00
Joao Siebel
ccda3b3a34 WIP remove callback from update methods 2020-11-26 13:23:57 -03:00
Anton Georgiev
38ba6bc7db
Merge pull request #10907 from jfsiebel/add-custom-heartbeat-flag
Add flag to enable/disabled custom heartbeat
2020-11-26 10:08:55 -05:00
Joao Siebel
c34d5381fe Add flag to enable/disable custom heartbeat functions 2020-11-26 11:19:59 -03:00
Anton Georgiev
ba89487d2e
Merge pull request #10905 from mariogasparoni/v2.2.x-release
Use INFO message as default for sending dtmf on call transfer
2020-11-26 09:02:43 -05:00
Joao Siebel
e4a5e88986 Fix selectors 2020-11-26 10:36:44 -03:00