Webrtc client side (#4026)
* WebRTC Server side * WebRTC client side * Bug fixes and improvements * Pushing UI improvements for webrtc (#3728) * Pushing UI improvements for webrtc * Updating webrtc css * PLT-3943 WebRTC P1: bug fixes and improvements * Video resolution set to std, reduce volume of ringtone and flip video horizontally * Fix calling a user B while WebRTC RHS is still opened * Leave RHS opened when call ends, Fix isBusy on popover and channel_header * Fix pre-release feature, RHS & System Console * PLT-3945 - Updating UI for webrtc (#3908) * PLT-3943 Webrtc p1 * Add ongoing call indicator when RHS is opened * UI updates to to webrtc notifcation (#3959)
Этот коммит содержится в:
@@ -11,6 +11,17 @@ export default class LoadingScreen extends React.Component {
|
||||
this.state = {};
|
||||
}
|
||||
render() {
|
||||
let message = (
|
||||
<FormattedMessage
|
||||
id='loading_screen.loading'
|
||||
defaultMessage='Loading'
|
||||
/>
|
||||
);
|
||||
|
||||
if (this.props.message) {
|
||||
message = this.props.message;
|
||||
}
|
||||
|
||||
return (
|
||||
<div
|
||||
className='loading-screen'
|
||||
@@ -18,10 +29,7 @@ export default class LoadingScreen extends React.Component {
|
||||
>
|
||||
<div className='loading__content'>
|
||||
<h3>
|
||||
<FormattedMessage
|
||||
id='loading_screen.loading'
|
||||
defaultMessage='Loading'
|
||||
/>
|
||||
{message}
|
||||
</h3>
|
||||
<div className='round round-1'></div>
|
||||
<div className='round round-2'></div>
|
||||
@@ -36,5 +44,6 @@ LoadingScreen.defaultProps = {
|
||||
position: 'relative'
|
||||
};
|
||||
LoadingScreen.propTypes = {
|
||||
position: React.PropTypes.oneOf(['absolute', 'fixed', 'relative', 'static', 'inherit'])
|
||||
position: React.PropTypes.oneOf(['absolute', 'fixed', 'relative', 'static', 'inherit']),
|
||||
message: React.PropTypes.node
|
||||
};
|
||||
|
||||
Ссылка в новой задаче
Block a user