[Flutter][Casting][iOS] Cannot make the casting work

Hello folks,

Trying to make the casting work using Bitmovin Flutter SDK.

The Android part works, but not the iOS. I tried also the example project from bitmovin-player-flutter-main, same issue (black screen with “CAF Receiver v3 - Stable” showing).

The native iOS casting works (bitmovin-player-ios-samples/BasicCasting). AirPlay also works.

Would appreciate any hints or ideas, thanks!

Cheers,
Łukasz

Just tested it with one of Apple’s example sources and it works:

https://devstreaming-cdn.apple.com/videos/streaming/examples/bipbop_4x3/bipbop_4x3_variant.m3u8

but it doesn’t work with the Bitmovin example source:

https://bitmovin-a.akamaihd.net/content/MI201109210084_1/m3u8s/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.m3u8

All right, an interesting one. Apparently the trick proposed in the Bitmovin example works (just tried it on one of our streams), although it doesn’t work for the Bitmovin sample stream from that example… which was a bit misleading.

So FYI this did the job (always DASH while casting):

final source = Source(
    sourceConfig: sourceConfig,
    remoteControl: const SourceRemoteControlConfig(
        castSourceConfig: SourceConfig(
            url: dashManifest,
            type: SourceType.dash,
        ),
    ),
);