solid-software / flutter_vlc_player

📺 Flutter VLC powered video player.
524 stars 253 forks source link

How to stop mirror casting #461

Open badshah-badmas opened 11 months ago

badshah-badmas commented 11 months ago

The documentation says to pass null to castToRenderer to stop casting. But castToRenderer does not accept a null value "Future castToRenderer(String castDevice)"

[castDevice] - name of renderer device Start vlc video casting to the selected device. Set null if you wanna stop video casting.

ahmdalmas commented 11 months ago

You can pass just the empty string to stop the cast.

badshah-badmas commented 11 months ago

Currently, I use that method but is it the standard way to stop the cast?