Dispatch events when calls are made/received.
This commit is contained in:
parent
f94a061fda
commit
78bea916e1
5 changed files with 59 additions and 10 deletions
|
@ -20,11 +20,12 @@ var React = require('react');
|
|||
|
||||
var MatrixClientPeg = require("../../../../src/MatrixClientPeg");
|
||||
var ComponentBroker = require('../../../../src/ComponentBroker');
|
||||
|
||||
var VideoViewController = require("../../../../src/controllers/molecules/VideoView");
|
||||
var VideoFeed = ComponentBroker.get('atoms/VideoFeed');
|
||||
|
||||
module.exports = React.createClass({
|
||||
displayName: 'VideoView',
|
||||
mixins: [VideoViewController],
|
||||
|
||||
getRemoteVideoElement: function() {
|
||||
return this.refs.remote.getDOMNode();
|
||||
|
@ -45,5 +46,5 @@ module.exports = React.createClass({
|
|||
</div>
|
||||
</div>
|
||||
);
|
||||
},
|
||||
}
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue