From 33fd09d7771fb014b97c1ae0425c5e33c96722ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Tue, 13 Apr 2021 20:21:03 +0200 Subject: [PATCH] Make private MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- src/components/views/voip/VideoFeed.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/views/voip/VideoFeed.tsx b/src/components/views/voip/VideoFeed.tsx index 43696defb9..23e51626d9 100644 --- a/src/components/views/voip/VideoFeed.tsx +++ b/src/components/views/voip/VideoFeed.tsx @@ -66,7 +66,7 @@ export default class VideoFeed extends React.Component { this.playMedia(); } - playMedia() { + private playMedia() { const audioOutput = CallMediaHandler.getAudioOutput(); const currentMedia = this.getCurrentMedia(); @@ -117,11 +117,11 @@ export default class VideoFeed extends React.Component { // seem to be necessary - Šimon } - getCurrentMedia() { + private getCurrentMedia() { return this.audio.current || this.video.current; } - onNewStream = () => { + private onNewStream = () => { this.setState({ audioMuted: this.props.feed.isAudioMuted(), videoMuted: this.props.feed.isVideoMuted(), @@ -129,7 +129,7 @@ export default class VideoFeed extends React.Component { this.playMedia(); } - onResize = (e) => { + private onResize = (e) => { if (this.props.onResize && !this.props.feed.isLocal()) { this.props.onResize(e); }