mizzkey/src/web/app/common/scripts/streaming/server-stream-manager.ts

13 lines
300 B
TypeScript
Raw Normal View History

2017-11-13 10:05:35 +01:00
import StreamManager from './stream-manager';
import Connection from './server-stream';
2017-11-13 10:05:35 +01:00
export default class ServerStreamManager extends StreamManager<Connection> {
public getConnection() {
if (this.connection == null) {
this.connection = new Connection();
}
return this.connection;
}
}