Comments (2)
On 6/15/2015 10:15 AM, zwerfkat wrote:
To test the hls-plugin, I use ffmpeg to generate an rtmp stream and
the plugin starts to generate m3u8/ts files. When I quit ffmpeg and
restart it, the rtmp stream is picked up again by red5 server but the
hls-plugin does not continue anymore. That means when there is a
network interruption, the hls generation will stop and does not
continue. Or in other words, it doesn't seem to be possible to restart
an already used hls stream.—
Reply to this email directly or view it on GitHub
#16.could it be related to timestamps?
do an experiment.
Repeat the steps. After 20 seconds stop ffmpeg for 10 seconds, and
restart the broadcast.
get your subscriber on in the first segment and watch for the expected
pause.
10 to 20 seconds after the rebroadcast, do you observe the stream resume
with your player?
If the answer is no, can you then refresh the subscriber/player and see
the stream resume?
from red5-hls-plugin.
Hi Andy,
such an experiment doesn't make sense, since I directly look into the directory where the segments are stored. Here I can see they are not continued after a small break in the stream. Although theoretically reading the m3u8 file by a client could (but shouldn't) restart the hls plugin. So I did your experiment anyway but the result is as expected: no new ts segments are generated, the client simply stops playing where the stream was paused and does not resume, also not after a refresh. Also, the m3u8 file is not updated anymore after the break: the hls-plugin seams to be completely stopped with respect to the interrupted stream. Only when I use a new stream name it is up and running again.
By the way, there are some differences in the example its red5-web.xml/web.xml files compared to the readme.txt file. Like queueSleepTime and startStreamOnRequest are not present in the example. But it looks like these properties are not being used at all in the plugin and/or red5 itself (searched for them in the git repository).
from red5-hls-plugin.
Related Issues (19)
- java.lang.NegativeArraySizeException HOT 2
- Stream file instead of rtmp channel HOT 2
- about JVM fatal
- the build fails HOT 5
- xuggle jni error when IContainer writeHeader HOT 1
- can't built
- Missing directory "webapps/hlsapp/WEB-INF/segments"
- Compatibility with the latest red5-server (1.0.5)
- Build hls-plugin and the example failure... HOT 1
- hls,look here
- Interrupted Exception HOT 2
- Xuggle unable to close container
- Runtime exception when streams ends HOT 1
- Runtime exception when streams ends
- Ts files are not being deleted
- about red5 cluster HOT 1
- red5-hls plugin not able to build HOT 3
- Cannot cast from Object to int
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from red5-hls-plugin.