Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: HLS Format ts or m3u8 is not working in IOS and its showing an error #4199

Open
BilalHadid opened this issue Sep 25, 2024 · 10 comments
Open
Labels
bug Missing info Some information from template are missing Missing repro Issue reproduction is missing Newer Version Available Platform: iOS

Comments

@BilalHadid
Copy link

Version

6.4.3

What platforms are you having the problem on?

iOS

System Version

18.1

On what device are you experiencing the issue?

Real device, Simulator

Architecture

New architecture with interop layer

What happened?

I am using react native video for m3u8 and TS format videos but its not working and showing an Error I even tried the same video in VLC Player so its working

Reproduction Link

repository link

Reproduction

Step to reproduce this bug are:

@BilalHadid BilalHadid added the bug label Sep 25, 2024
Copy link

Thank you for your issue report. Please note that the following information is missing or incomplete:

  • reproduction
  • reproduction link

Please update your issue with this information to help us address it more effectively.

Note: issues without complete information have a lower priority

There is a newer version of the library available. You are using version 6.4.3, while the latest stable version is 6.6.2. Please update to the latest version and check if the issue still exists.

Note: If the issue still exists, please update the issue report with the latest information.

@github-actions github-actions bot added Platform: iOS Missing info Some information from template are missing Missing repro Issue reproduction is missing Newer Version Available labels Sep 25, 2024
@Usman-02501
Copy link

+1

@freeboub
Copy link
Collaborator

more information needed ... a stream for exemple as it works with the sample app of the repository ...

@ChadyAyoub4
Copy link

ChadyAyoub4 commented Sep 27, 2024

This issue started appearing after updating to Xcode 16. I do not have new architecture enabled

@freeboub
Copy link
Collaborator

describe the error please ?

@ChadyAyoub4
Copy link

ChadyAyoub4 commented Sep 27, 2024

@freeboub the player fires the onError event and returns this error object: {"error": {"code": -12865, "domain": "CoreMediaErrorDomain", "localizedDescription": "The operation couldn’t be completed. (CoreMediaErrorDomain error -12865.)", "localizedFailureReason": "", "localizedRecoverySuggestion": ""}, "target": 13367}

@BilalHadid
Copy link
Author

BilalHadid commented Sep 27, 2024

@freeboub {"error": {"code": -11850, "domain": "AVFoundationErrorDomain", "localizedDescription": "Operation Stopped", "localizedFailureReason": "The server is not correctly configured.", "localizedRecoverySuggestion": ""}, "target": 3657}

I've updated my React Native video package, but I'm still encountering the same error. Here's a sample URL for you to test in VLC Player. It works fine in VLC but not in the React Native Video iOS app.
https://cfsystems.io/live/jakefromsf/F6WG7rDC6J/4727.ts https://cfsystems.io/live/jakefromsf/F6WG7rDC6J/4727.m3u8

It's working perfectly in Android
@freeboub

@ChadyAyoub4
Copy link

In Xcode it shows this Error whenever an hls link does not work: Error occurred: The operation couldn’t be completed. (OSStatus error -50.). According to this site It could mean a lot of different things, but its still weird that it only happens when building from xcode 16 and not from older versions using the same m3u8 link

@ChadyAyoub4
Copy link

@freeboub I found out the root cause for the issue i was facing, turns out, if the app is build on xcode 16, or the ios version is ios 18, for some reason if the link to the video contains a space, for exampl www.linkToVideo/The+batman.m3u8, the link will not work and it will throw an error, if we upload the same file but the file name is theBatman instead of The Batman it will work.

@MohitNarkhede
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Missing info Some information from template are missing Missing repro Issue reproduction is missing Newer Version Available Platform: iOS
Projects
None yet
Development

No branches or pull requests

5 participants