Samsung/LG/Sony TV airplay fails to seek when audio track is not default

Hello,

We have a TV app, based on react-native-video, which was tweaked to suit our requirements.

There is a problem with AirPlay streaming.

An asset can be streamed on AppleTV, but when we try to stream it on any TV with AirPlay and choose a language different from the default in the manifest there is a problem.

Seek freezes the picture and nothing happens. The funny thing is if we do seek back to the starting point +/-20 sec, the video resumes.

The obvious difference with AppleTV, which we were able to recognize, is that with AppleTv search an isPlaybackBufferEmpty is observed, while with 3rd party TVs, there are only isPlaybackLikelyToKeepUp events firing.

Maybe, there is a solution to that issue? Or at least, there is a way to forcefully empty the buffer when search is called?

Thank you

Update.

Probably, it is not the buffer. We can set an audio different from the AVPlayerItem's default before submitting it to an AVPlayer instance.

Airplay still will not play recorded streams. Maybe there is something wrong with the manifest?

Samsung/LG/Sony TV airplay fails to seek when audio track is not default
 
 
Q