Automatic mirrorMode for VideoView (#119)
* update protos * impl 1 * re-compute when options update * minor fix
This commit is contained in:
@@ -4,6 +4,8 @@ import 'package:meta/meta.dart';
|
||||
import '../events.dart';
|
||||
import '../proto/livekit_models.pb.dart' as lk_models;
|
||||
import '../proto/livekit_rtc.pb.dart' as lk_rtc;
|
||||
import '../track/local/local.dart';
|
||||
import '../track/options.dart';
|
||||
import '../track/track.dart';
|
||||
import '../types/other.dart';
|
||||
|
||||
@@ -59,6 +61,16 @@ class TrackStreamUpdatedEvent with TrackEvent, InternalEvent {
|
||||
});
|
||||
}
|
||||
|
||||
@internal
|
||||
class LocalTrackOptionsUpdatedEvent with TrackEvent, InternalEvent {
|
||||
final LocalTrack track;
|
||||
final LocalTrackOptions options;
|
||||
const LocalTrackOptionsUpdatedEvent({
|
||||
required this.track,
|
||||
required this.options,
|
||||
});
|
||||
}
|
||||
|
||||
// Used to notify muted state from Track to TrackPublication.
|
||||
@internal
|
||||
class InternalTrackMuteUpdatedEvent with TrackEvent, InternalEvent {
|
||||
|
||||
Reference in New Issue
Block a user