@@ -68,10 +68,6 @@ class ActiveSpeakersChangedEvent with RoomEvent {
6868 });
6969}
7070
71- class AudioPlaybackChangedEvent with RoomEvent {
72- const AudioPlaybackChangedEvent ();
73- }
74-
7571/// When a new [Track] is published to [Room] *after* the current participant has
7672/// joined. It will not fire for tracks that are already published.
7773/// Emitted by [Room] and [RemoteParticipant] .
@@ -87,8 +83,8 @@ class TrackPublishedEvent with RoomEvent, ParticipantEvent {
8783/// The participant has unpublished one of their [Track] .
8884/// Emitted by [Room] and [RemoteParticipant] .
8985class TrackUnpublishedEvent with RoomEvent , ParticipantEvent {
90- final RemoteParticipant participant;
91- final RemoteTrackPublication publication;
86+ final Participant participant;
87+ final TrackPublication publication;
9288 const TrackUnpublishedEvent ({
9389 required this .participant,
9490 required this .publication,
@@ -217,13 +213,6 @@ class EngineReconnectedEvent with EngineEvent {
217213 const EngineReconnectedEvent ();
218214}
219215
220- // class EngineParticipantUpdateEvent with EngineEvent {
221- // final List<lk_models.ParticipantInfo> participants;
222- // const EngineParticipantUpdateEvent({
223- // required this.participants,
224- // });
225- // }
226-
227216class EngineTrackAddedEvent with EngineEvent {
228217 final rtc.MediaStreamTrack track;
229218 final rtc.MediaStream stream;
@@ -253,60 +242,6 @@ class EngineRemoteMuteChangedEvent with EngineEvent {
253242 });
254243}
255244
256- // added
257- abstract class EngineIceStateUpdatedEvent with EngineEvent {
258- final rtc.RTCIceConnectionState iceState;
259- final bool isPrimary;
260- const EngineIceStateUpdatedEvent ({
261- required this .iceState,
262- required this .isPrimary,
263- });
264- }
265-
266- class EngineSubscriberIceStateUpdatedEvent extends EngineIceStateUpdatedEvent {
267- const EngineSubscriberIceStateUpdatedEvent ({
268- required rtc.RTCIceConnectionState state,
269- required bool isPrimary,
270- }) : super (
271- iceState: state,
272- isPrimary: isPrimary,
273- );
274- }
275-
276- class EnginePublisherIceStateUpdatedEvent extends EngineIceStateUpdatedEvent {
277- const EnginePublisherIceStateUpdatedEvent ({
278- required rtc.RTCIceConnectionState state,
279- required bool isPrimary,
280- }) : super (
281- iceState: state,
282- isPrimary: isPrimary,
283- );
284- }
285-
286- //
287- // Track events
288- //
289-
290- class TrackMessageEvent with TrackEvent {
291- const TrackMessageEvent ();
292- }
293-
294- class TrackUpdateSettingsEvent with TrackEvent {
295- const TrackUpdateSettingsEvent ();
296- }
297-
298- class TrackUpdateSubscriptionEvent with TrackEvent {
299- const TrackUpdateSubscriptionEvent ();
300- }
301-
302- class TrackAudioPlaybackStartedEvent with TrackEvent {
303- const TrackAudioPlaybackStartedEvent ();
304- }
305-
306- class TrackAudioPlaybackFailedEvent with TrackEvent {
307- const TrackAudioPlaybackFailedEvent ();
308- }
309-
310245//
311246// Signal events
312247//
0 commit comments