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

Generated .u3m8 file cannot be played by videoJS in Firefox #1768

Open
town-paddy opened this issue Aug 1, 2024 · 0 comments
Open

Generated .u3m8 file cannot be played by videoJS in Firefox #1768

town-paddy opened this issue Aug 1, 2024 · 0 comments

Comments

@town-paddy
Copy link

PC: Ubuntu24.04LTS

In nginx.conf, configured like bellow:
rtmp {
server {
listen 1935;
application app {
live on;
hls on;
hls_path /var/www/hls;
hls_fragment 7;
hls_playlist_length: 3600;
}
}
}

and run ffmpeg like this:
ffmpeg -f video4linux4linux2 -i /dev/video2 -c:v libx264 -preset uldrafast -an -f flv rtmp://localhost/app

I confirmed there are .ts files and .m3u8 file.create html file like this:

If accessing this html file with Chrome, .m3u8 was played. But with Firefox, video was infinitely loaded.

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

1 participant