1383ab4def
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!!!
29 lines
978 B
JavaScript
29 lines
978 B
JavaScript
import React from 'react';
|
|
import { withTracker } from 'meteor/react-meteor-data';
|
|
import { withModalMounter } from '/imports/ui/components/modal/service';
|
|
import ScreenshareButton from './component';
|
|
import getFromUserSettings from '/imports/ui/services/users-settings';
|
|
import {
|
|
isVideoBroadcasting,
|
|
dataSavingSetting,
|
|
} from '/imports/ui/components/screenshare/service';
|
|
|
|
const ScreenshareButtonContainer = props => <ScreenshareButton {...props} />;
|
|
|
|
/*
|
|
* All props, including the ones that are inherited from actions-bar
|
|
* isVideoBroadcasting,
|
|
* amIPresenter,
|
|
* screenSharingCheck,
|
|
* isMeteorConnected,
|
|
* screenshareDataSavingSetting,
|
|
*/
|
|
export default withModalMounter(withTracker(({ mountModal }) => ({
|
|
isVideoBroadcasting: isVideoBroadcasting(),
|
|
screenshareDataSavingSetting: dataSavingSetting(),
|
|
enabled: getFromUserSettings(
|
|
'bbb_enable_screen_sharing',
|
|
Meteor.settings.public.kurento.enableScreensharing
|
|
),
|
|
}))(ScreenshareButtonContainer));
|