diff --git a/app/lib/components/RemoteVideo.jsx b/app/lib/components/RemoteVideo.jsx index fa6b7e7..066c046 100644 --- a/app/lib/components/RemoteVideo.jsx +++ b/app/lib/components/RemoteVideo.jsx @@ -8,7 +8,7 @@ import classnames from 'classnames'; import Video from './Video'; import Logger from '../Logger'; -const logger = new Logger('RemoteVideo'); // eslint-disable-line no-unused-vars +const logger = new Logger('RemoteVideo'); export default class RemoteVideo extends React.Component { diff --git a/app/lib/components/Video.jsx b/app/lib/components/Video.jsx index 5081fba..bcebd01 100644 --- a/app/lib/components/Video.jsx +++ b/app/lib/components/Video.jsx @@ -78,7 +78,6 @@ export default class Video extends React.Component componentDidMount() { let stream = this.props.stream; - let videoDisabled = !!this.props.videoDisabled; let video = this.refs.video; video.srcObject = stream; @@ -86,9 +85,6 @@ export default class Video extends React.Component this._showVideoResolution(); this._videoResolutionTimer = setInterval(() => { - if (!videoDisabled) - return; - this._showVideoResolution(); }, 500); diff --git a/app/lib/index.jsx b/app/lib/index.jsx index c4edd15..959c7a6 100644 --- a/app/lib/index.jsx +++ b/app/lib/index.jsx @@ -12,7 +12,7 @@ import Logger from './Logger'; import utils from './utils'; import App from './components/App'; -const REGEXP_FRAGMENT_ROOM_ID = new RegExp('^#room-id=([0-9a-zA-Z]+)$'); +const REGEXP_FRAGMENT_ROOM_ID = new RegExp('^#room-id=([0-9a-zA-Z_\-]+)$'); const logger = new Logger(); logger.debug('detected browser [name:"%s", version:%s]', browser.name, browser.version);