1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2026-01-03 23:22:30 +03:00

Fix tests. Add MatrixCall.setLocalVideoElement

This commit is contained in:
Kegan Dougal
2015-07-16 10:07:19 +01:00
parent 4b4f13d662
commit c5718891c5
2 changed files with 10 additions and 1 deletions

View File

@@ -99,6 +99,14 @@ MatrixCall.prototype.getRemoteVideoElement = function() {
return this.remoteVideoElement;
};
/**
* Set the local <code>&lt;video&gt;</code> DOM element.
* @param {Element} element The <code>&lt;video&gt;</code> DOM element.
*/
MatrixCall.prototype.setLocalVideoElement = function(element) {
this.localVideoElement = element;
};
/**
* Set the remote <code>&lt;video&gt;</code> DOM element. If this call is active,
* video will be rendered to it immediately.

View File

@@ -21,7 +21,8 @@ describe('NotificationService', function() {
return {
name: testDisplayName
};
}
},
members: {}
}
};
},