main
hrxiang 2 years ago
parent 96d6b755cd
commit 9df556b837
  1. 4
      CHANGELOG.md
  2. 117
      lib/src/models/meeting_info.dart
  3. 2
      pubspec.yaml

@ -1,3 +1,7 @@
## 2.3.5+4
- Fix bug
## 2.3.5+3 ## 2.3.5+3
- Fix bug for signaling - Fix bug for signaling

@ -25,60 +25,109 @@ class MeetingInfoList {
class MeetingInfo { class MeetingInfo {
String? meetingID; String? meetingID;
String? meetingName; String? meetingName;
String? ex;
String? hostUserID; String? hostUserID;
List<String>? inviteeUserIDList; //
int? createTime; int? createTime;
int? startTime; int? startTime;
int? endTime; int? endTime;
bool? participantCanEnableVideo; bool? participantCanUnmuteSelf; //
bool? onlyHostInviteUser; bool? participantCanEnableVideo; //
bool? joinDisableVideo; bool? onlyHostInviteUser; //
bool? participantCanUnmuteSelf; bool? onlyHostShareScreen; //
bool? isMuteAllMicrophone; bool? joinDisableMicrophone; //
List<String>? inviteeUserIDList; bool? joinDisableVideo; //
bool? isMuteAllVideo; //
bool? isMuteAllMicrophone; //
List<String>? canScreenUserIDList; // ID列表
List<String>? disableMicrophoneUserIDList; // id列表
List<String>? disableVideoUserIDList; // ID列表
List<String>? pinedUserIDList; // ID列表
List<String>? beWatchedUserIDList; //
MeetingInfo( MeetingInfo({
{this.meetingID, this.meetingID,
this.meetingName, this.meetingName,
this.hostUserID, this.ex,
this.createTime, this.hostUserID,
this.startTime, this.inviteeUserIDList,
this.endTime, this.createTime,
this.participantCanEnableVideo, this.startTime,
this.onlyHostInviteUser, this.endTime,
this.joinDisableVideo, this.participantCanUnmuteSelf,
this.participantCanUnmuteSelf, this.participantCanEnableVideo,
this.isMuteAllMicrophone, this.onlyHostInviteUser,
this.inviteeUserIDList}); this.onlyHostShareScreen,
this.joinDisableMicrophone,
this.joinDisableVideo,
this.isMuteAllVideo,
this.isMuteAllMicrophone,
this.canScreenUserIDList,
this.disableMicrophoneUserIDList,
this.disableVideoUserIDList,
this.pinedUserIDList,
this.beWatchedUserIDList,
});
MeetingInfo.fromJson(Map<String, dynamic> json) { MeetingInfo.fromJson(Map<String, dynamic> json) {
meetingID = json['meetingID']; meetingID = json['meetingID'];
meetingName = json['meetingName']; meetingName = json['meetingName'];
ex = json['ex'];
hostUserID = json['hostUserID']; hostUserID = json['hostUserID'];
inviteeUserIDList = json['inviteeUserIDList'] == null
? null
: (json['inviteeUserIDList'] as List).cast<String>();
createTime = json['createTime']; createTime = json['createTime'];
startTime = json['startTime']; startTime = json['startTime'];
endTime = json['endTime']; endTime = json['endTime'];
participantCanUnmuteSelf = json['participantCanUnmuteSelf'];
participantCanEnableVideo = json['participantCanEnableVideo']; participantCanEnableVideo = json['participantCanEnableVideo'];
onlyHostInviteUser = json['onlyHostInviteUser']; onlyHostInviteUser = json['onlyHostInviteUser'];
onlyHostShareScreen = json['onlyHostShareScreen'];
joinDisableMicrophone = json['joinDisableMicrophone'];
joinDisableVideo = json['joinDisableVideo']; joinDisableVideo = json['joinDisableVideo'];
participantCanUnmuteSelf = json['participantCanUnmuteSelf']; isMuteAllVideo = json['isMuteAllVideo'];
isMuteAllMicrophone = json['isMuteAllMicrophone']; isMuteAllMicrophone = json['isMuteAllMicrophone'];
inviteeUserIDList = json['inviteeUserIDList']?.cast<String>(); canScreenUserIDList = json['canScreenUserIDList'] == null
? null
: (json['canScreenUserIDList'] as List).cast<String>();
disableMicrophoneUserIDList = json['disableMicrophoneUserIDList'] == null
? null
: (json['disableMicrophoneUserIDList'] as List).cast<String>();
disableVideoUserIDList = json['disableVideoUserIDList'] == null
? null
: (json['disableVideoUserIDList'] as List).cast<String>();
pinedUserIDList = json['pinedUserIDList'] == null
? null
: (json['pinedUserIDList'] as List).cast<String>();
beWatchedUserIDList = json['beWatchedUserIDList'] == null
? null
: (json['beWatchedUserIDList'] as List).cast<String>();
} }
Map<String, dynamic> toJson() { Map<String, dynamic> toJson() {
final data = Map<String, dynamic>(); final data = <String, dynamic>{};
data['meetingID'] = this.meetingID; data['meetingID'] = meetingID;
data['meetingName'] = this.meetingName; data['meetingName'] = meetingName;
data['hostUserID'] = this.hostUserID; data['ex'] = ex;
data['createTime'] = this.createTime; data['hostUserID'] = hostUserID;
data['startTime'] = this.startTime; data['inviteeUserIDList'] = inviteeUserIDList;
data['endTime'] = this.endTime; data['createTime'] = createTime;
data['participantCanEnableVideo'] = this.participantCanEnableVideo; data['startTime'] = startTime;
data['onlyHostInviteUser'] = this.onlyHostInviteUser; data['endTime'] = endTime;
data['joinDisableVideo'] = this.joinDisableVideo; data['participantCanUnmuteSelf'] = participantCanUnmuteSelf;
data['participantCanUnmuteSelf'] = this.participantCanUnmuteSelf; data['participantCanEnableVideo'] = participantCanEnableVideo;
data['isMuteAllMicrophone'] = this.isMuteAllMicrophone; data['onlyHostInviteUser'] = onlyHostInviteUser;
data['inviteeUserIDList'] = this.inviteeUserIDList; data['onlyHostShareScreen'] = onlyHostShareScreen;
data['joinDisableMicrophone'] = joinDisableMicrophone;
data['joinDisableVideo'] = joinDisableVideo;
data['isMuteAllVideo'] = isMuteAllVideo;
data['isMuteAllMicrophone'] = isMuteAllMicrophone;
data['canScreenUserIDList'] = canScreenUserIDList;
data['disableMicrophoneUserIDList'] = disableMicrophoneUserIDList;
data['disableVideoUserIDList'] = disableVideoUserIDList;
data['pinedUserIDList'] = pinedUserIDList;
data['beWatchedUserIDList'] = beWatchedUserIDList;
return data; return data;
} }
} }

@ -1,6 +1,6 @@
name: flutter_openim_sdk name: flutter_openim_sdk
description: An instant messaging plug-in that supports Android and IOS. And the server is also all open source. description: An instant messaging plug-in that supports Android and IOS. And the server is also all open source.
version: 2.3.5+3 version: 2.3.5+4
homepage: https://www.rentsoft.cn homepage: https://www.rentsoft.cn
repository: https://github.com/OpenIMSDK/Open-IM-SDK-Flutter repository: https://github.com/OpenIMSDK/Open-IM-SDK-Flutter

Loading…
Cancel
Save