Merge branch 'feed' into feed-audio

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-03-17 16:14:59 +01:00
commit 0917730f48
No known key found for this signature in database
GPG key ID: 9760693FDD98A790
448 changed files with 9411 additions and 2052 deletions

View file

@ -24,6 +24,12 @@ import { logger } from 'matrix-js-sdk/src/logger';
import MemberAvatar from "../avatars/MemberAvatar"
import CallHandler from '../../../CallHandler';
import CallMediaHandler from "../../../CallMediaHandler";
import {replaceableComponent} from "../../../utils/replaceableComponent";
export enum VideoFeedType {
Local,
Remote,
}
interface IProps {
call: MatrixCall,
@ -45,6 +51,8 @@ interface IState {
audioOnly: boolean;
}
@replaceableComponent("views.voip.VideoFeed")
export default class VideoFeed extends React.Component<IProps, IState> {
private video = createRef<HTMLVideoElement>();
private audio = createRef<HTMLAudioElement>();