add socket close connection code and reason
This commit is contained in:
parent
fa24a8d46a
commit
f2c69516df
3 changed files with 6 additions and 11 deletions
|
|
@ -57,14 +57,14 @@ export function launchSession(platformKey: string) {
|
|||
/* connect to the platform */
|
||||
connect(config.PLATFORM_URL, platformKey);
|
||||
|
||||
// initialize the audio streams
|
||||
// initialize the audio streams
|
||||
// audio.record();
|
||||
|
||||
}
|
||||
|
||||
export function endSession() {
|
||||
|
||||
close();
|
||||
close(1000, 'session-logout');
|
||||
|
||||
uiState.reset();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue