SHA256
feat(call): серверная выдача ICE/TURN и подключение в WebRTC
This commit is contained in:
@@ -1412,6 +1412,13 @@ export class AuthService {
|
||||
if (response.status !== 200) throw opError('CallSignalToSession', response);
|
||||
return response.payload || {};
|
||||
}
|
||||
|
||||
async getCallIceConfig() {
|
||||
const response = await this.ws.request('GetCallIceConfig', {});
|
||||
if (response.status !== 200) throw opError('GetCallIceConfig', response);
|
||||
return response.payload || {};
|
||||
}
|
||||
|
||||
async listContacts() {
|
||||
const response = await this.ws.request('ListContacts', {});
|
||||
if (response.status !== 200) throw opError('ListContacts', response);
|
||||
|
||||
Reference in New Issue
Block a user