Skip to content

Commit

Permalink
fixed #51 updated type of room to dynamic in interfaces and events fo…
Browse files Browse the repository at this point in the history
…r individual plugins

Former-commit-id: 4fde4ba99dcafd0fbae127842c8d2350fb704530 [formerly 4d78260 [formerly c38b12a2ce31eb93babd719393fc0f3c3130ee5d] [formerly fd107704a551a7d639706951ca666cb5ecd571b8 [formerly bde5ab5 [formerly 9ee8bc307912a94a58a5d0127dbce29acd87bded]]]]
Former-commit-id: f21f996bec1f2fcae019b3d24aa40d113053917a
Former-commit-id: 3a783935f996cd9a544b7408811e938d65e6a1f6 [formerly 92766e7]
Former-commit-id: 960520facb632519d24940415cd12e6f87d6205c
Former-commit-id: b493ca4c6560a17b7e28478120b5a7b3d4e5477f
  • Loading branch information
shivansh committed Feb 17, 2022
1 parent 9189efb commit f48610a
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class AudioRoomCreatedResponse {
permanent = json['permanent'];
}
String? audiobridge;
int? room;
dynamic room;
bool? permanent;

Map<String, dynamic> toJson() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class AudioBridgeConfiguredEvent {
result = json['result'];
}
String? audiobridge;
int? room;
dynamic room;
String? result;

Map<String, dynamic> toJson() {
Expand Down
2 changes: 1 addition & 1 deletion lib/interfaces/audio_bridge/events/audio_bridge_event.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
part of janus_client;
class AudioBridgeEvent{
String? audiobridge;
late int room;
dynamic room;


//<editor-fold desc="Data Methods">
Expand Down
2 changes: 1 addition & 1 deletion lib/interfaces/audio_bridge/rtp_forward_stopped.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class RtpForwardStopped {
streamId = json['stream_id'];
}
String? audiobridge;
int? room;
dynamic room;
int? streamId;

Map<String, dynamic> toJson() {
Expand Down
2 changes: 1 addition & 1 deletion lib/interfaces/audio_bridge/rtp_forwarder_created.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class RtpForwarderCreated {
port = json['port'];
}
String? audiobridge;
int? room;
dynamic room;
String? group;
int? streamId;
String? host;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class VideoRoomAttachedEvent {
}
}
String? videoroom;
int? room;
dynamic room;
List<AttachedStreams>? streams;

Map<String, dynamic> toJson() {
Expand Down
2 changes: 1 addition & 1 deletion lib/interfaces/video_room/events/video_room_event.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
part of janus_client;
class VideoRoomEvent{
late String videoroom;
late int room;
dynamic room;


//<editor-fold desc="Data Methods">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class VideoRoomListParticipantsResponse {
}
}
String? videoroom;
int? room;
dynamic room;
List<Participants>? participants;

Map<String, dynamic> toJson() {
Expand Down
4 changes: 2 additions & 2 deletions lib/interfaces/video_room/video_room_list_response.dart
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class VideoRoomListResponse {
class JanusVideoRoom {
JanusVideoRoom({
int? room,
dynamic room,
String? description,
bool? pinRequired,
bool? isPrivate,
Expand Down Expand Up @@ -144,7 +144,7 @@ class JanusVideoRoom {
_playoutdelayExt = json['playoutdelay_ext'];
_transportWideCcExt = json['transport_wide_cc_ext'];
}
int? _room;
dynamic _room;
String? _description;
bool? _pinRequired;
bool? _isPrivate;
Expand Down

0 comments on commit f48610a

Please sign in to comment.