mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-15 13:52:38 +03:00
Make sure video plays onNewStream
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
8410411236
commit
6c5a301094
1 changed files with 1 additions and 0 deletions
|
@ -117,6 +117,7 @@ export default class VideoFeed extends React.Component<IProps, IState> {
|
|||
this.setState({ audioOnly: this.props.feed.isAudioOnly()});
|
||||
const currentMedia = this.getCurrentMedia();
|
||||
currentMedia.srcObject = newStream;
|
||||
currentMedia.play();
|
||||
}
|
||||
|
||||
onResize = (e) => {
|
||||
|
|
Loading…
Reference in a new issue