Moved toggle screen, toggle video and toggle audio logic from toolbar and prejoin component to openvidu service with the aim of avoiding code duplications and being able to provide a powerful method to the components user
8 lines
305 B
TypeScript
8 lines
305 B
TypeScript
import { ParticipantProperties, StreamModel } from '../models/participant.model';
|
|
|
|
export interface OpenViduAngularConfig {
|
|
production?: boolean,
|
|
participantFactory?: ParticipantFactoryFunction,
|
|
}
|
|
|
|
export type ParticipantFactoryFunction = (props: ParticipantProperties, streamModel: StreamModel) => any; |