add remoteAudioElement
This commit is contained in:
parent
5d1ad4d259
commit
c8f6d46c8b
2 changed files with 8 additions and 1 deletions
|
@ -34,6 +34,10 @@ module.exports = React.createClass({
|
|||
return this.refs.remote.getDOMNode();
|
||||
},
|
||||
|
||||
getRemoteAudioElement: function() {
|
||||
return this.refs.remoteAudio.getDOMNode();
|
||||
},
|
||||
|
||||
getLocalVideoElement: function() {
|
||||
return this.refs.local.getDOMNode();
|
||||
},
|
||||
|
@ -61,6 +65,7 @@ module.exports = React.createClass({
|
|||
<div className="mx_VideoView" ref={this.setContainer}>
|
||||
<div className="mx_VideoView_remoteVideoFeed">
|
||||
<VideoFeed ref="remote"/>
|
||||
<audio ref="remoteAudio"/>
|
||||
</div>
|
||||
<div className="mx_VideoView_localVideoFeed">
|
||||
<VideoFeed ref="local"/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue