I'm using cloudFront lambda to encrypt urls and AVURLAssetHTTPHeaderFieldsKey through md5 token to decrypt it with AVPlayer.
The problem is that AVPlayer is working fine but when trying to cast the video with AirPlay, it flashs for a second then nothing is casted.
Thanks,