当 URL 中有“+”时,React Native 'expo-video-player' - 网络视频不起作用

时间:2021-04-20 14:18:08

标签: react-native expo

一切都很好,当 URI 看起来像 - https://x.s3.eu-central-1.amazonaws.com/test.mp4.m3u8" 时。不幸的是,在我无权访问的 S3 存储桶上,某些 URL 看起来像 https://x.s3.eu-central-1.amazonaws.com/test+something.mp4.m3u8"。带有此加号的每个链接都会给我错误“播放过程中遇到致命错误:AVPlayerItem 实例失败,错误代码为 -1008,域为“NSURLErrorDomain”。我该如何解决?

0 个答案:

没有答案
相关问题