openvidu/openvidu-node-client/src/OpenVidu.ts

20 lines
558 B
TypeScript
Raw Normal View History

2017-06-10 01:44:31 +02:00
import { Session } from "./Session";
import { SessionProperties } from "./SessionProperties";
2017-06-10 01:44:31 +02:00
export class OpenVidu {
constructor(private urlOpenViduServer: string, private secret: string) { }
2017-06-10 01:44:31 +02:00
public createSession(properties?: SessionProperties): Session {
return new Session(this.urlOpenViduServer, this.secret, properties);
}
public startArchive(sessionId: string) {
// TODO: REST POST to start recording in OpenVidu Server
}
public stopArchive(sessionId: string) {
// TODO: REST POST to end recording in OpenVidu Server
2017-06-10 01:44:31 +02:00
}
}