Skip to content

Commit

Permalink
update.
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudwebrtc committed Dec 18, 2023
1 parent 763cf0b commit 38c4d2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions example/lib/widgets/controls.dart
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@ class _ControlsWidgetState extends State<ControlsWidget> {
_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(() {});
}

Expand Down
4 changes: 2 additions & 2 deletions example/lib/widgets/participant.dart
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ abstract class _ParticipantWidgetState<T extends ParticipantWidget>
...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,
Expand Down

0 comments on commit 38c4d2c

Please sign in to comment.