I'm trying to play a video hosted in CloudFront. It works fine from Android, from the website and even from another native iOS app. This is the error I'm getting, I can't find a similar error code 15622 in the forum:
[tcp] tcp_input [C16.1:3] flags=[R] seq=3391960260, ack=0, win=0 state=LAST_ACK rcv_nxt=3391960260, snd_una=830933021
[tcp] tcp_input [C17.1:3] flags=[R] seq=1838595670, ack=0, win=0 state=LAST_ACK rcv_nxt=1838595670, snd_una=719010170
[tcp] tcp_input [C18.1:3] flags=[R] seq=4156548764, ack=0, win=0 state=LAST_ACK rcv_nxt=4156548764, snd_una=4036511524
[tcp] tcp_input [C18.1:3] flags=[R] seq=4156548764, ack=0, win=0 state=CLOSED rcv_nxt=4156548764, snd_una=4036511524
Failed to load video:
Error Domain=CoreMediaErrorDomain Code=-15622 "See -[AVPlayerItem errorLog] for 17 events" UserInfo={NSDebugDescription=See -[AVPlayerItem errorLog] for 17 events}
flutter:
flutter: PlatformException(VideoError, Failed to load video: The operation couldn’t be completed. (CoreMediaErrorDomain error -15622.), null, null)