You've already forked matrix-js-sdk
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:
@@ -99,6 +99,14 @@ MatrixCall.prototype.getRemoteVideoElement = function() {
|
||||
return this.remoteVideoElement;
|
||||
};
|
||||
|
||||
/**
|
||||
* Set the local <code><video></code> DOM element.
|
||||
* @param {Element} element The <code><video></code> DOM element.
|
||||
*/
|
||||
MatrixCall.prototype.setLocalVideoElement = function(element) {
|
||||
this.localVideoElement = element;
|
||||
};
|
||||
|
||||
/**
|
||||
* Set the remote <code><video></code> DOM element. If this call is active,
|
||||
* video will be rendered to it immediately.
|
||||
|
||||
@@ -21,7 +21,8 @@ describe('NotificationService', function() {
|
||||
return {
|
||||
name: testDisplayName
|
||||
};
|
||||
}
|
||||
},
|
||||
members: {}
|
||||
}
|
||||
};
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user