Stream not fount
- Dominant language
- ActionScript
- Stars
- 744
- Forks
- 259
- PR merge metrics
- No merged PRs in 30d
Description
Hi mangui,I'am so sorry about my Englis is not good..Last time,I asked you about load m3u8 playist by a url.So...
I want to play a m3u8 file without suffix .m3u8
like this:http://127.0.0.1:8080/iwebker/getPlayList?vid=1
this url is a "application/vnd.apple.mpegURL" type

But finally It can't play...I don't know if my code error...
{
response.setHeader("Content-Type", "application/vnd.apple.mpegURL");
String vid=request.getParameter("vid");
String filePath=getServletContext().getRealPath("/video/"+vid);
File f=new File(filePath,"newplay.m3u8");
FileInputStream fis=new FileInputStream(f);
int i;
PrintWriter out=response.getWriter();
byte[] b=new byte[1024];
char[] c=new char[1024];
FileReader reader = new FileReader(f);
while ((i=reader.read(c)) != -1) {
out.write(c, 0, i);
}
reader.close();
out.flush();
}
thank a lot ,dear mangui!!
Contributor guide
No contributing guide indexed for this repository
Research direction
The report provides no repository file, test, or entry point to inspect. Start by reproducing the requested URL and checking the servlet response and playlist references; done is not defined because the issue does not specify a repository change or expected player behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100