Adds video filters processors to ios and android #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ticket
Summary
This pull request introduces the necessary changes to implement video effects in our Flutter SDK. It allows developers to register VideoProcessors that can process each frame for various video effects.
On Android, the video processor is set for the selected track's VideoSource. On iOS, it is configured as a delegate for the track's VideoCapturer.
Additionally, the
setVideoEffects
platform channel method enables or disables the registered effects from Dart code.Implementation based on the one done in RN:
Video Effect added in the original
react-native-webrtc
to Android:react-native-webrtc/react-native-webrtc#1176
Video Effects added in Stream's
react-native-webrtc
to iOS:GetStream/react-native-webrtc@3e80e4f#diff-7c6e3881355f28853a9%5B%E2%80%A6%5D3d5673456eb60fcd61253938