CreateMediaSFURoomOptions class

Constructors

CreateMediaSFURoomOptions({Map<String, dynamic>? backendAudioDenoise, required String action, required int duration, required int capacity, required String userName, int? scheduledDate, String? secureCode, EventType? eventType, MeetingRoomParams? meetingRoomParams, RecordingParams? recordingParams, bool? recordOnly = false, bool? safeRoom = false, bool? autoStartSafeRoom = false, String? safeRoomAction = "kick", bool? dataBuffer = false, String? bufferType = "all", bool? supportSIP = false, String? directionSIP = "both", bool? preferPCMA = false, bool? supportTranslation = false, String? translationConfigNickName = "", bool? supportFlexRoom = false, bool? supportMaxRoom = false, String? region, bool? regionStrict, bool? waitRoom, SignAssistOptions? signAssist, Map<String, dynamic>? extra})
CreateMediaSFURoomOptions.fromMap(Map<String, dynamic> map)
factory

Properties

action → String
final
autoStartSafeRoom ↔ bool?
getter/setter pair
backendAudioDenoise → Map<String, dynamic>?
final
bufferType ↔ String?
getter/setter pair
capacity → int
final
dataBuffer ↔ bool?
getter/setter pair
directionSIP ↔ String?
getter/setter pair
duration → int
final
eventType → EventType?
final
extra ↔ Map<String, dynamic>?
Fields to send beside the typed ones, for server fields this SDK does not type yet. A typed field that is set wins; action, userName, meetingID and the credentials can never be set here. The server validates them.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
meetingRoomParams → MeetingRoomParams?
final
preferPCMA ↔ bool?
getter/setter pair
recordingParams → RecordingParams?
final
recordOnly ↔ bool?
getter/setter pair
region ↔ String?
Preferred media continent: 'asia', 'europe', 'us' or 'general'. Best-effort unless regionStrict is true.
getter/setter pair
regionStrict ↔ bool?
With a continent region, place media only there; the create fails (HTTP 503, code 'region-unavailable') instead of falling back. Older servers refuse it with 'region-strict-unsupported'.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
safeRoom ↔ bool?
getter/setter pair
safeRoomAction ↔ String?
getter/setter pair
scheduledDate → int?
final
secureCode → String?
final
signAssist ↔ SignAssistOptions?
Ask for the sign-language assistant (MediaSFU Cloud, production API key). const SignAssistOptions() reads the creating user's signing. Billed per started minute from the account's sign credit only. Without enough credit the create is refused (CreateJoinRoomError.code 'SIGN_CREDITS_REQUIRED') unless required: false, in which case the room opens and CreateJoinRoomResponse.signAssist.state is 'refused' with the reason.
getter/setter pair
supportFlexRoom ↔ bool?
getter/setter pair
supportMaxRoom ↔ bool?
getter/setter pair
supportSIP ↔ bool?
getter/setter pair
supportTranslation ↔ bool?
getter/setter pair
translationConfigNickName ↔ String?
getter/setter pair
userName → String
final
waitRoom ↔ bool?
Turn the room's waiting room on: participants wait until the host admits them.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited