diff --git a/example/lib/widgets/controls.dart b/example/lib/widgets/controls.dart index 6643cb83..356269d7 100644 --- a/example/lib/widgets/controls.dart +++ b/example/lib/widgets/controls.dart @@ -62,9 +62,6 @@ class _ControlsWidgetState extends State { _audioInputs = devices.where((d) => d.kind == 'audioinput').toList(); _audioOutputs = devices.where((d) => d.kind == 'audiooutput').toList(); _videoInputs = devices.where((d) => d.kind == 'videoinput').toList(); - for (var element in _videoInputs ?? []) { - print('video input: ${element.deviceId}'); - } setState(() {}); } diff --git a/example/lib/widgets/participant.dart b/example/lib/widgets/participant.dart index f754bac3..e162042d 100644 --- a/example/lib/widgets/participant.dart +++ b/example/lib/widgets/participant.dart @@ -154,8 +154,8 @@ abstract class _ParticipantWidgetState ...extraWidgets(widget.isScreenShare), ParticipantInfoWidget( title: widget.participant.name.isNotEmpty - ? '${widget.participant.isCameraEnabled()} ${widget.participant.name} (${widget.participant.identity})' - : '${widget.participant.isCameraEnabled()} ${widget.participant.identity}', + ? '${widget.participant.name} (${widget.participant.identity})' + : widget.participant.identity, audioAvailable: firstAudioPublication?.muted == false && firstAudioPublication?.subscribed == true, connectionQuality: widget.participant.connectionQuality,