You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-12-01 04:43:29 +03:00
Make placeCalls public
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
@@ -346,7 +346,7 @@ export class MatrixCall extends EventEmitter {
|
||||
* Place a voice call to this room.
|
||||
* @throws If you have not specified a listener for 'error' events.
|
||||
*/
|
||||
async placeVoiceCall(): Promise<void> {
|
||||
public async placeVoiceCall(): Promise<void> {
|
||||
logger.debug("placeVoiceCall");
|
||||
this.checkForErrorListener();
|
||||
const constraints = getUserMediaContraints(ConstraintsType.Audio);
|
||||
@@ -358,7 +358,7 @@ export class MatrixCall extends EventEmitter {
|
||||
* Place a video call to this room.
|
||||
* @throws If you have not specified a listener for 'error' events.
|
||||
*/
|
||||
async placeVideoCall(): Promise<void> {
|
||||
public async placeVideoCall(): Promise<void> {
|
||||
logger.debug("placeVideoCall");
|
||||
this.checkForErrorListener();
|
||||
const constraints = getUserMediaContraints(ConstraintsType.Video);
|
||||
|
||||
Reference in New Issue
Block a user