add socket close connection code and reason

This commit is contained in:
Enrique H. Oliva 2021-07-13 08:32:05 -05:00
commit f2c69516df
3 changed files with 6 additions and 11 deletions

View file

@ -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();