mizzkey/src/web/app/common/scripts/streaming/server-stream-manager.ts
2017-11-17 01:24:44 +09:00

13 lines
300 B
TypeScript

import StreamManager from './stream-manager';
import Connection from './server-stream';
export default class ServerStreamManager extends StreamManager<Connection> {
public getConnection() {
if (this.connection == null) {
this.connection = new Connection();
}
return this.connection;
}
}