CallMediaHandler -> MediaDeviceHandler

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-06-23 09:26:33 +02:00
parent 759a4e796f
commit 9bceb40820
No known key found for this signature in database
GPG key ID: 9760693FDD98A790
7 changed files with 117 additions and 106 deletions

View file

@ -17,7 +17,7 @@ limitations under the License.
import React, {createRef} from 'react';
import { CallFeed, CallFeedEvent } from 'matrix-js-sdk/src/webrtc/callFeed';
import { logger } from 'matrix-js-sdk/src/logger';
import CallMediaHandler from "../../../CallMediaHandler";
import MediaDeviceHandler from "../../../MediaDeviceHandler";
interface IProps {
feed: CallFeed,
@ -38,7 +38,7 @@ export default class AudioFeed extends React.Component<IProps> {
private playMedia() {
const element = this.element.current;
const audioOutput = CallMediaHandler.getAudioOutput();
const audioOutput = MediaDeviceHandler.getAudioOutput();
if (audioOutput) {
try {