You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
Don't play audio if the feed is local
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
@@ -68,7 +68,8 @@ export default class VideoFeed extends React.Component<IProps, IState> {
|
||||
|
||||
currentMedia.srcObject = this.props.feed.stream;
|
||||
currentMedia.autoplay = true;
|
||||
currentMedia.muted = false;
|
||||
// Don't play audio if the feed is local
|
||||
currentMedia.muted = this.props.feed.isLocal();
|
||||
|
||||
try {
|
||||
if (audioOutput) {
|
||||
|
||||
Reference in New Issue
Block a user