NativeScript / NativeScript/plugins

[nativescript-videoplayer][@nstudio/nativescript-exoplayer][ios] Streaming video does not play on ios

未關閉
#494 6 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

主要語言
TypeScript
星號
206
分支
123
平均合併
2 天 1 小時
30 天內合併 PR
1

描述

Hi everyone.

When I put the streaming URL, it does not play for IOS, but it plays on Android. I have tried with both videoplayer and exoplayer plugins, but I can't get it to play for IOS.

Github: https://github.com/vicmasa/ns853
URL Streaming: https://liveams.viiamanager.com:5443/LiveApp/streams/Invian-cid1-Jumbo_Screen_TEST-lid85-Flujo.m3u8

<Page xmlns="http://schemas.nativescript.org/tns.xsd" loaded="loaded"
    xmlns:VideoPlayer="nativescript-videoplayer" xmlns:exoplayer="@nstudio/nativescript-exoplayer">
    <StackLayout>
        <VideoPlayer:Video width="300" height="280" controls="true" autoplay="true"
            src="https://liveams.viiamanager.com:5443/LiveApp/streams/Invian-cid1-Jumbo_Screen_TEST-lid85-Flujo.m3u8" />
        <exoplayer:Video width="300" height="280" autoplay="true"
            src="https://liveams.viiamanager.com:5443/LiveApp/streams/Invian-cid1-Jumbo_Screen_TEST-lid85-Flujo.m3u8" />
    </StackLayout>
</Page>

OS: macOS 13.3.1
CPU: (8) arm64 Apple M1 Pro
Shell: /bin/zsh
node: 19.8.1
npm: 9.5.1
nativescript: 8.5.3

# android
java: 11.0.17
ndk: Not Found
apis: Not Found
build_tools: Not Found
system_images: Not Found

# ios
xcode: 14.3/14E222b
cocoapods: 1.12.1
python: 2.7.18
python3: 3.9.6
ruby: 2.7.8
platforms: 
  - DriverKit 22.4
  - iOS 16.4
  - macOS 13.3
  - tvOS 16.4
  - watchOS 9.4
Dependencies
"dependencies": {
  "@nativescript/core": "~8.5.0",
  "@nativescript/theme": "~3.0.2",
  "@nativescript/ui-charts": "^0.4.0",
  "@nstudio/nativescript-exoplayer": "^6.1.0",
  "nativescript-videoplayer": "^5.0.1"
},
"devDependencies": {
  "@nativescript/android": "8.5.0",
  "@nativescript/ios": "8.5.1",
  "@nativescript/webpack": "~5.0.14"
}
image

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

首先,使用 issue 中所示的 nativescript-videoplayer 和 @nstudio/nativescript-exoplayer 元件,在 iOS 上重現所提供的 M3U8 串流 URL。將 iOS 結果與 Android 進行比較,並判定外掛程式特有的失敗條件;完成的標準是記錄原因和可重現的解決方案。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
ios
領域
mobile
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。