-
-
Notifications
You must be signed in to change notification settings - Fork 635
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
Video streams #210
Video streams #210
Conversation
Thank you @SebastianSchildt. We'll review the commit shortly, but at first glance it looks reasonable. |
Ahh I got lost in GIT and forgot a commit.... I just added 54b9a28 to the pull request. It modifies the URL checking in the server. (The previous request only contained the changes to the web interface) |
Thanks @SebastianSchildt. @brainrape will be looking at this during the day. |
I'd use 0 as the auto-detect value instead of -1, since "Duration: -1 seconds" looks quite weird. I'd also add a hint saying "enter 0 to auto-detect video length", only shown for videos. |
Yes rtmp should be added, and I guess 0 instead of -1 is ok. I will have access to my development system tomorrow and try to amend the pull request. Regarding adding a hint to the Webif: I have been thinking about this, but since I am not very fluent with Javascript and not not really understand all the magical frameworks you used for that, I tried to be rather conservative when changing anything :) |
Cool, thanks. I'l add the hint when you're done, and perhaps fix the filetype detection too. |
…ill trigger the switch to the 'video' asset type
Ok, everything changed.
I did not add a hint the web interface, that 0 means auto-detect length for videos. I am too scared of the web frameworks you used and do not know how . If you could do that, I will just pull it back into my repo :D |
Great, thanks! I'll take care of it soon.
|
Support rtmp and rtsp video streams, play for fixed amout of time
Done, feel free to pull and provide any feedback if needed. |
These changes allow setting a time for Video Assets. This is useful when switching to live streams which are endless. For example you could change to a surveillance cam for 5 min and then come back to the next asset. Or you can switch to a live TV channel streamed by some server.
The default behaviour is unchanged, when the duration is set to -1. In this case Screenly tries to figure out the length of the asset and put it into the asset DB just as it does now.
What this pull request also does, is accepting rtsp:// URIs, as this is the protocol used by many IP cams.