NativeScript / NativeScript/plugins

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

Open
#494 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
206
Forks
123
Avg merge
2d 1h
Merged PRs (30d)
1

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the provided M3U8 streaming URL on iOS with the nativescript-videoplayer and @nstudio/nativescript-exoplayer components shown in the issue. Compare the iOS result with Android and determine the plugin-specific failure conditions; done means the cause and a reproducible resolution are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.