Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.19 KB

README.md

File metadata and controls

30 lines (21 loc) · 1.19 KB

flutter-filter-plugin-example

Usage

1, register a filter to the livekit room.

  final _videoFilter = LivekitVideoFilter();
  final _audioFilter = LivekitAudioFilter();

  _room = Room(
      roomOptions: RoomOptions(
        defaultAudioCaptureOptions: AudioCaptureOptions(
          processor: _audioFilter,
        ),
        defaultCameraCaptureOptions: CameraCaptureOptions(
          processor: _videoFilter,
        ),
      ),
    );

    await _room!.connect(url, token);

2, add your audio/video processing code here

Android Audio Track Video Track

iOS/macOS Audio Track Video Track