Not able to chromecast using ios bitmovin sdk

Product

Streams

Question

function: -[GCKMediaQueue request:didFailWithError:] message: error fetching queue item IDs: Error Domain=com.google.cast.GCKError Code=92 “Disconnected from receiver” UserInfo={NSLocalizedDescription=Disconnected from receiver} location: GCKMediaQueue.m:546 FullscreenWatchViewController 5

getting disconnect from the receiver

sometime got this error

ChromeCast Log: function: -[GCKMediaControlChannel mediaSessionID] message: Calling a method that requires a media status with no media status, ignoring; make sure that media is loaded, the media channel has received a status, and that this method is not being called when there is no active connection to a Cast device location: GCKMediaControlChannel.m:1605

ChromeCast Log: function: -[GCKCastDeviceController receiverControlChannel:requestDidFailWithID:error:] message: [0x13efcd910] Receiver control channel request ID 2 failed with error Error Domain=com.google.cast.GCKError Code=2 “Network connection timed out” UserInfo={NSLocalizedDescription=Network connection timed out} location: GCKCastDeviceController.m:1530

ChromeCast Log: function: -[GCKMediaQueue request:didFailWithError:] message: error fetching queue item IDs: Error Domain=com.google.cast.GCKError Code=4 “Invalid request” UserInfo={gck_error_reason=INVALID_MEDIA_SESSION_ID, NSLocalizedDescription=Invalid request, gck_custom_data=INVALID_MEDIA_SESSION_ID} location: GCKMediaQueue.m:546 FullscreenWatchViewController 5

Hi @gauravkumar.t!

Thanks for reporting!

If you could provide software versions (iOS version, iOS Player SDK version, GoogleCast version) and reproduction steps, we could verify the problem you are seeing.

If your scenario can be showcased better via code, you could build a sample project reproducing the issue, it would help us greatly figuring out the problem.
For that, you could fork and modify one of our casting related public sample projects here: GitHub - bitmovin/bitmovin-player-ios-samples
See project BasicCasting for example.