While airplaying content receiving error "An unknown error occurred (-12269)"

I am trying to airplay content on Samsung TV UA50AUE70AKLXL, it has in-built Airplay 2. Whenever I try to play a video it shows a black screen and then after some time throws the below error. I have tried searching everywhere to find the root cause of the issue but am still unable to find any. Please help in determining what could be the root cause of the issue

//Error
Optional(-11870) Optional("AVFoundationErrorDomain")
//Underlying error 
 Optional("The operation could not be completed") Optional("An unknown error occurred (-12269)")

What does -12269 signify?

Answered by vthakur93 in 706654022

Found the issue, it was actually an Akamai issue where we were blocking users to play over Airplay 2 because of bad User Agent

Accepted Answer

Found the issue, it was actually an Akamai issue where we were blocking users to play over Airplay 2 because of bad User Agent

Hi, did you fix it on server side or app side?

While airplaying content receiving error "An unknown error occurred (-12269)"
 
 
Q