mirror of https://github.com/OpenVidu/openvidu.git
openvidu-elements: Fixed participant factory types
parent
412a95ea43
commit
41f83bc340
|
@ -1,3 +1,5 @@
|
||||||
|
import { ParticipantProperties, StreamModel } from '../models/participant.model';
|
||||||
|
|
||||||
export interface OpenViduAngularConfig {
|
export interface OpenViduAngularConfig {
|
||||||
production?: boolean,
|
production?: boolean,
|
||||||
participantFactory?: ParticipantFactoryFunction,
|
participantFactory?: ParticipantFactoryFunction,
|
||||||
|
@ -5,4 +7,4 @@ export interface OpenViduAngularConfig {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export type ParticipantFactoryFunction = (connWrapper: any, participantId: string) => any;
|
export type ParticipantFactoryFunction = (props: ParticipantProperties, streamModel: StreamModel) => any;
|
Loading…
Reference in New Issue