snapshot of https://github.com/jitsi/jitsi-meet.git @ fd1749dd28f4138aa80234fc7f311b19aaffa0e7 (2026-09-15)
This commit is contained in:
30
react/features/base/media/components/native/VideoTrack.tsx
Normal file
30
react/features/base/media/components/native/VideoTrack.tsx
Normal file
@@ -0,0 +1,30 @@
|
||||
import React from 'react';
|
||||
import { View } from 'react-native';
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import AbstractVideoTrack, { IProps } from '../AbstractVideoTrack';
|
||||
|
||||
import styles from './styles';
|
||||
|
||||
/**
|
||||
* Component that renders video element for a specified video track.
|
||||
*
|
||||
* @augments AbstractVideoTrack
|
||||
*/
|
||||
class VideoTrack extends AbstractVideoTrack<IProps> {
|
||||
/**
|
||||
* Renders the video element for the associated video track.
|
||||
*
|
||||
* @override
|
||||
* @returns {ReactElement}
|
||||
*/
|
||||
override render() {
|
||||
return (
|
||||
<View style = { styles.video } >
|
||||
{ super.render() }
|
||||
</View>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
export default connect()(VideoTrack);
|
||||
Reference in New Issue
Block a user