RN Video 사용중인데 iOS 에서 재생이 안됩니다 ㅠ

안드로이드는(로컬,QR) 재생이 잘 되는데
iOS는 (로컬, qr)모두 재생이 안됩니다 ㅠㅠ

cloudfront presigned cookie 사용하고 있습니다.

안드는 쿠키가 전달되는거 같은데 ios는 쿠키 전달이 안되나여?

import { Video } from '@granite-js/react-native'

<Video
source={{
  uri: "https://my-cdn.com/hls/video.m3u8"
  headers: { 
    Cookie: 'CloudFront-Policy=xxx; CloudFront-Signature=xxx; CloudFront-Key-Pair-Id=xxx;'
  }
}}
...
/>

이런 에러가 납니다

{"error": {"code": -1100, "domain": "NSURLErrorDomain", "localizedDescription": "이 서버에서 요청한 URL을 찾을 수 없습니다.", "localizedFailureReason": "", "localizedRecoverySuggestion": ""}

안녕하세요 :slight_smile:

IOS에서의 쿠키는 차단되어 있어요. 관련 가이드를 전달드려요.

1개의 좋아요