* Respect `RTCIceTransportPolicy` enum and organize * Simplify syntax where possible etc. * Combine `VideoPreset` and `VideoPresets` * Default values for `ConnectOptions` * Build URI instead of String manipulation * Slight modifications to Exception * `LiveKitTheme` for example * `VideoEncoding` class * Organize imports * First simulcast implementation * Remove unnecessary try-catches * Update Android settings * Remember uri and token * example improvements * `fit` parameter for VideoTrackRenderer * Simulcast option for example * Pass `defaultPublishOptions` * Show only `VideoQuality` * Pass tests * Better buildUri logic * Named parameter to positional * Explicit imports * `VideoParameter` instead of `VideoPreset` * Use `mediaTrack.getSettings` when possible * Safer dispose logic * Safer `PCTransport` Update transport.dart * Synchronized events for `SignalClient` * Use logger instead of print * Make example compile for iOS * First screen share implementation * Make example work with screen share * Example improvement * Code optimization * Don't depend on web_socket_channel * Fix: Unpublish track bug * Show participant mute state & identity * Update protos * Remote mute/unmute * iOS Background mode * Separate `createCameraTrack` and `createScreenTrack` * Clean up * PB fix * format * Fix analyzer warning * Android clean up * Update README.md * Clean up
47 lines
1.3 KiB
YAML
47 lines
1.3 KiB
YAML
# This file configures the analyzer, which statically analyzes Dart code to
|
|
# check for errors, warnings, and lints.
|
|
#
|
|
# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
|
|
# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
|
|
# invoked from the command line by running `flutter analyze`.
|
|
|
|
# The following line activates a set of recommended lints for Flutter apps,
|
|
# packages, and plugins designed to encourage good coding practices.
|
|
|
|
# https://pub.dev/packages/flutter_lints
|
|
|
|
include: package:flutter_lints/flutter.yaml
|
|
|
|
analyzer:
|
|
#
|
|
# Enforce stricter type-checking
|
|
# https://dart.dev/guides/language/analysis-options#enabling-additional-type-checks
|
|
# https://dash-overflow.net/articles/getting_started/#step-3-disabling-_implicit-dynamic_--_implicit-cast_
|
|
#
|
|
strong-mode:
|
|
implicit-casts: false
|
|
implicit-dynamic: false
|
|
|
|
#
|
|
# exclude protobuf files
|
|
#
|
|
exclude:
|
|
- '**/*.pb.dart'
|
|
- '**/*.pbenum.dart'
|
|
- '**/*.pbjson.dart'
|
|
- '**/*.pbserver.dart'
|
|
|
|
linter:
|
|
rules:
|
|
#
|
|
# Additional recommended rules
|
|
#
|
|
prefer_single_quotes: true
|
|
unnecessary_brace_in_string_interps: false
|
|
unawaited_futures: true
|
|
|
|
#
|
|
# Turn off avoid_print for example projects
|
|
#
|
|
avoid_print: false
|