Skip to content

Conversation

Brazol
Copy link

@Brazol Brazol commented Nov 25, 2024

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

@Brazol Brazol requested a review from kanat November 26, 2024 14:40
@Brazol Brazol merged commit 93b3df0 into main Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants