GlobalState constructor
GlobalState({
- Map<
int, Context> clients = const {}, - Map<
int, List< functions = const {},ActionFunctionRegister> > - Map<
String, UIStreamState> uIStreams = const {}, - Map<
String, AudioStreamState> audioStreams = const {}, - Map<
String, VideoStreamState> videoStreams = const {}, - Map<
String, TrackingStreamState> trackingStreams = const {}, - String spaceId = '',
- String channelId = '',
- String serverSessionId = '',
- String sessionHash = '',
- String channelUrl = '',
- String sessionChannelUrl = '',
- String firstUserId = '',
- String primaryUserId = '',
- String organisationName = '',
- String spaceName = '',
- String channelName = '',
- ServerRunType serverRunType = ServerRunType.local,
- AppSourceType appSourceType = AppSourceType.bundle,
- bool publicAccess = false,
- bool debugMode = false,
Implementation
GlobalState({
this.clients = const {},
this.functions = const {},
this.uIStreams = const {},
this.audioStreams = const {},
this.videoStreams = const {},
this.trackingStreams = const {},
this.spaceId = '',
this.channelId = '',
this.serverSessionId = '',
this.sessionHash = '',
this.channelUrl = '',
this.sessionChannelUrl = '',
this.firstUserId = '',
this.primaryUserId = '',
this.organisationName = '',
this.spaceName = '',
this.channelName = '',
this.serverRunType = ServerRunType.local,
this.appSourceType = AppSourceType.bundle,
this.publicAccess = false,
this.debugMode = false,
});