diff --git a/lib/interfaces/audio_bridge/audio_room_created_response.dart b/lib/interfaces/audio_bridge/audio_room_created_response.dart index ce8e7bca..c533f199 100644 --- a/lib/interfaces/audio_bridge/audio_room_created_response.dart +++ b/lib/interfaces/audio_bridge/audio_room_created_response.dart @@ -11,7 +11,7 @@ class AudioRoomCreatedResponse { permanent = json['permanent']; } String? audiobridge; - int? room; + dynamic room; bool? permanent; Map toJson() { diff --git a/lib/interfaces/audio_bridge/events/audio_bridge_configured_event.dart b/lib/interfaces/audio_bridge/events/audio_bridge_configured_event.dart index 09002996..ba2ef50d 100644 --- a/lib/interfaces/audio_bridge/events/audio_bridge_configured_event.dart +++ b/lib/interfaces/audio_bridge/events/audio_bridge_configured_event.dart @@ -11,7 +11,7 @@ class AudioBridgeConfiguredEvent { result = json['result']; } String? audiobridge; - int? room; + dynamic room; String? result; Map toJson() { diff --git a/lib/interfaces/audio_bridge/events/audio_bridge_event.dart b/lib/interfaces/audio_bridge/events/audio_bridge_event.dart index af4cf5f5..5f72df25 100644 --- a/lib/interfaces/audio_bridge/events/audio_bridge_event.dart +++ b/lib/interfaces/audio_bridge/events/audio_bridge_event.dart @@ -1,7 +1,7 @@ part of janus_client; class AudioBridgeEvent{ String? audiobridge; - late int room; + dynamic room; // diff --git a/lib/interfaces/audio_bridge/rtp_forward_stopped.dart b/lib/interfaces/audio_bridge/rtp_forward_stopped.dart index 0fb20264..078b0574 100644 --- a/lib/interfaces/audio_bridge/rtp_forward_stopped.dart +++ b/lib/interfaces/audio_bridge/rtp_forward_stopped.dart @@ -11,7 +11,7 @@ class RtpForwardStopped { streamId = json['stream_id']; } String? audiobridge; - int? room; + dynamic room; int? streamId; Map toJson() { diff --git a/lib/interfaces/audio_bridge/rtp_forwarder_created.dart b/lib/interfaces/audio_bridge/rtp_forwarder_created.dart index 4a139b0c..6b4c20e3 100644 --- a/lib/interfaces/audio_bridge/rtp_forwarder_created.dart +++ b/lib/interfaces/audio_bridge/rtp_forwarder_created.dart @@ -17,7 +17,7 @@ class RtpForwarderCreated { port = json['port']; } String? audiobridge; - int? room; + dynamic room; String? group; int? streamId; String? host; diff --git a/lib/interfaces/video_room/events/video_room_atached_event.dart b/lib/interfaces/video_room/events/video_room_atached_event.dart index 03850a4e..0c89992e 100644 --- a/lib/interfaces/video_room/events/video_room_atached_event.dart +++ b/lib/interfaces/video_room/events/video_room_atached_event.dart @@ -17,7 +17,7 @@ class VideoRoomAttachedEvent { } } String? videoroom; - int? room; + dynamic room; List? streams; Map toJson() { diff --git a/lib/interfaces/video_room/events/video_room_event.dart b/lib/interfaces/video_room/events/video_room_event.dart index c3ec42d0..196b0058 100644 --- a/lib/interfaces/video_room/events/video_room_event.dart +++ b/lib/interfaces/video_room/events/video_room_event.dart @@ -1,7 +1,7 @@ part of janus_client; class VideoRoomEvent{ late String videoroom; - late int room; + dynamic room; // diff --git a/lib/interfaces/video_room/video_room_list_participants_response.dart b/lib/interfaces/video_room/video_room_list_participants_response.dart index 2d5da945..b9d462df 100644 --- a/lib/interfaces/video_room/video_room_list_participants_response.dart +++ b/lib/interfaces/video_room/video_room_list_participants_response.dart @@ -16,7 +16,7 @@ class VideoRoomListParticipantsResponse { } } String? videoroom; - int? room; + dynamic room; List? participants; Map toJson() { diff --git a/lib/interfaces/video_room/video_room_list_response.dart b/lib/interfaces/video_room/video_room_list_response.dart index 89f0c7c3..68c6bea2 100644 --- a/lib/interfaces/video_room/video_room_list_response.dart +++ b/lib/interfaces/video_room/video_room_list_response.dart @@ -62,7 +62,7 @@ class VideoRoomListResponse { class JanusVideoRoom { JanusVideoRoom({ - int? room, + dynamic room, String? description, bool? pinRequired, bool? isPrivate, @@ -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;