GetStream / stream-video-swift

SwiftUI Video SDK ➡️ Stream Video 📹
https://getstream.io/video/sdk/ios/
Other
112 stars 21 forks source link

Use `VideoFilters` with `CustomLobbyView` #513

Closed andreasteich closed 6 days ago

andreasteich commented 1 week ago

What are you trying to achieve?

Is it possible to set video filters for lobby preview as well? Currently I'm achieving this using call.setVideoFilter(Filters.stream) but I have no call object available yet. Is that possible via the LobbyViewModel as well?

If possible, how can you achieve this currently?

Fork the package and adjust LobbyViewModel when initialising the Call property.

What would be the better way?

Do it directly from within the official package.

ipavlidakis commented 6 days ago

Hi @andreasteich,

The LobbyViewModel doesn't use the same underline rendering as the call uses. Thus you can't use the StreamVideo VideoFilters.

Best regards, Ilias

andreasteich commented 6 days ago

Okay thank you very much! No problem.