If running stop srs (#60)

client on destruction

Co-authored-by: Matt Preskett <matt.preskett@netcall.com>
This commit is contained in:
two56
2023-01-23 17:35:41 +00:00
committed by GitHub
parent 36b2c752da
commit a553105e55
+5
View File
@@ -519,6 +519,11 @@ class CallSession extends Emitter {
dlg.other = null;
other.other = null;
if (this.srsClient) {
this.srsClient.stop();
this.srsClient = null;
}
this.logger.info(`call ended with normal termination, there are ${this.activeCallIds.size} active`);
this.srf.endSession(this.req);