Posts

Post not yet marked as solved
2 Replies
2.6k Views
Hi there,To give some context, our app is a streaming app. We have ads inserted in our HLS Stream and we'd like to prevent the user from skipping the Ads if possible.On Airplay we can't seem to find a way to do that. Disabling remote commands (MPRemoteCommandCenter.shared()) works only when controling the stream from the Device. When using the AppleTV remote, it doesn't work. HLS Stream is supposed to be processed by the device when casting on Airplay (if i'm correct), so i could guess it should use the same AVPlayer instance used on the device. But it is not using the same instance it seems so i can't intercept any function (play/pause/seek etc).Is there any way to disable Airplay remote controls while streaming?Thanks in advance
Posted
by datminou2.
Last updated
.