NativeScript / plugins

@nativescript plugins to help with your developments.
https://docs.nativescript.org/plugins/index.html
Apache License 2.0
189 stars 107 forks source link

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

Open vicmasa opened 1 year ago

vicmasa commented 1 year ago

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
AlexMA2 commented 1 year ago

I am experiencing the same problem on iOS. I have searched in some forums but I still can't find the solution.

italoriva commented 1 year ago

The same problem on iOS 16.0.1

wilderchavezl commented 1 year ago

Hello, I am also experiencing the same issue with streaming playback on iOS devices.

InvianInternational commented 1 year ago

Hi all, does anyone have any updates?

jorrego commented 1 year ago

I finally find a reference to my problem. What is the solution?

TishoTM commented 10 months ago

The iOS simulator on iOS 16.x has been reported to have issues playing video. Try to downgrade and use iOS 15.x on the simulator for testing.