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]Unable to Display m3u8 Source on Win11 #25

Open
ZhiFengCode opened this issue Feb 16, 2024 · 5 comments
Open

[Bug]Unable to Display m3u8 Source on Win11 #25

ZhiFengCode opened this issue Feb 16, 2024 · 5 comments

Comments

@ZhiFengCode
Copy link

ZhiFengCode commented Feb 16, 2024

Issue Description:
I'm currently using version 1.2.3 and have successfully installed FFmpeg on a Windows 11. However, I'm encountering an issue where I'm unable to display m3u8 sources. When attempting to utilize this version, the screen only displays the inputted link and a black background, rather than the content of the m3u8 source.

Steps to Reproduce:

  1. Install and run version 1.2.3 on a Windows 11.
  2. Attempt to load m3u8 sources.

image

@mindstorm38
Copy link
Owner

Do you see anything in game's logs?

@ZhiFengCode
Copy link
Author

Sorry about that, I forgot to provide you with the logs. Upon reviewing the logs, it seems that there were issues with the content requests. Here's the content of the logs:

[17:55:32] [Render thread/ERROR]: [DisplayLayerHls:489F778A] Failed to request playlist, setting interval to 5 seconds.
java.io.IOException: HTTP request failed, status code: 404
	at fr.theorozier.webstreamer.display.render.DisplayLayerHls.requestPlaylistBlocking(DisplayLayerHls.java:183) ~[webstreamer-1.2.3.jar:?]
	at fr.theorozier.webstreamer.util.AsyncProcessor.lambda$fetch$0(AsyncProcessor.java:75) ~[webstreamer-1.2.3.jar:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
	at java.lang.Thread.run(Thread.java:833) ~[?:?]
[17:55:34] [Render thread/ERROR]: [DisplayLayerHls:489F778A] Failed to request playlist, setting interval to 5 seconds.
java.io.IOException: HTTP request failed, status code: 404
	at fr.theorozier.webstreamer.display.render.DisplayLayerHls.requestPlaylistBlocking(DisplayLayerHls.java:183) ~[webstreamer-1.2.3.jar:?]
	at fr.theorozier.webstreamer.util.AsyncProcessor.lambda$fetch$0(AsyncProcessor.java:75) ~[webstreamer-1.2.3.jar:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
	at java.lang.Thread.run(Thread.java:833) ~[?:?]
[17:55:34] [Render thread/INFO]: [-1621/80/35] Allocated a new display url 1#http://demo.m3u8play.com/m3u8/out/demo.m3u8.
[17:55:34] [Render thread/INFO]: [-1621/80/35] Allocated a new display url 1#http://demo.m3u8play.com/m3u8/out/demo.m3u8.
[17:55:34] [Render thread/INFO]: [-1621/80/35] Allocated a new display url 1#http://demo.m3u8play.com/m3u8/out/demo.m3u8.
[17:55:34] [Render thread/INFO]: [-1621/80/35] Allocated a new display url 1#http://demo.m3u8play.com/m3u8/out/demo.m3u8.
[17:55:34] [Render thread/INFO]: [-1621/80/35] Allocated a new display url 1#http://demo.m3u8play.com/m3u8/out/demo.m3u8.
[17:55:34] [Render thread/INFO]: [-1621/80/35] Allocated a new display url 1#http://demo.m3u8play.com/m3u8/out/demo.m3u8.
[17:55:34] [Render thread/INFO]: [-1621/80/35] Allocated a new display url 1#http://demo.m3u8play.com/m3u8/out/demo.m3u8.

Based on these logs, it appears that there were connectivity issues or the requested content was not available. We may need to investigate further to resolve the issue.

@ZhiFengCode ZhiFengCode closed this as not planned Won't fix, can't repro, duplicate, stale Feb 17, 2024
@ZhiFengCode ZhiFengCode reopened this Feb 17, 2024
@ZhiFengCode
Copy link
Author

Apologies for the inconvenience. Despite the logs indicating connection failures and content not found errors, you've confirmed that the links are indeed valid and you've tested multiple links successfully. This suggests that there might be another issue at play. We'll need to conduct further investigation to pinpoint the exact cause of the problem.

@ZhiFengCode
Copy link
Author

Thank you for providing additional information. Based on the screenshot from Postman showing the 404 status, it's evident that the resource is indeed returning a not found status. It's possible that the m3u8 resource might be treated as a file rather than a supported content type by the mod. Setting up an Nginx server for testing might be a viable solution to confirm this hypothesis. Once tested, we can better understand if the issue lies with the content type handling.

image

@mindstorm38
Copy link
Owner

I don't understand this conversation (sorry if you're not english native) but anyway yes if the error code returned is 404, then it means that the problem doesn't come from the mod itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants