#How do i close a receiver subscription (opus stream)

1 messages · Page 1 of 1 (latest)

slow juniper

setTimeout(() => this.connection.destroy(), after);
this.emit('stop-listining-stream');
console.log(this.opusStream);
return this;

i have this code, this code must destroy the connection, but even if the connetion gets destroyed, the receiver subscribtion doesnt end ever, so how do i end it?