import React from 'react';

// 屏幕录制
class RecordVideo extends React.Component {
  constructor(props) {
    super(props);
  }

  render() {
    console.log('this.props', this.props);
    return (
      <div>
        <video style={{ display: 'none' }} volume="1" id="record_rtc_video" controls src={this.props.src} srcObject={this.props.srcObject} />
        <audio id="record_rtc_audio" controls style={{ display: 'none' }} />
      </div>
    )
  }
}

export default RecordVideo;
