So.. I'm looking into why these cameras timeout... we only send keepalives if GET_PARAMETER is returned in the DESCRIBE call. Apparently some RTSP servers require the sending of RTCP packets.... so I'm looking into that.
mzb- has quit
knnniggett
Right. If I recall, we only send keepalives if the device requests it. Maybe we should always send keepalives.
I want to upload my source files for creating the zmrepo rpms to github. I'm thinking the best thing to do would be to create an entirely new github repository for that, rather than piggy back it onto the zoneminder github repository. Would you agree?
mzb-- joined the channel
it is only a handful of files
mzb-- is now known as mzb-
ic0n
I tried just sending keepalives, it's not enough... specifically need these RTCP packets...
Um... yeah I agree...
linuxmint has quit
barjac has quit
Bhaal has quit
barjac joined the channel
Bhaal joined the channel
barjac has quit
fixxxermet
good morning
When you guys think of documenting code, what comes to mind? What is code documentation to you?
knnniggett
Adding sufficient comments to the source code
fixxxermet: Are you getting any snow or is all that North of you?
fixxxermet
We got /some/ snow, but not much.
Not enough to cancel school yesterday or today (2 hour delay today)
knnniggett
Your question about documenting code contrasts with documenting (new) features, which I almost always forget to do. Would you agree or am I off?
fixxxermet
Yeah, I'd say documenting code (for developers) and documenting features (for users) are separate
I've been writing some crazy code and I'd like to remember what it does a year from now.
Personally, I feel that comments in code are only part of the solution - they're too terse
barjac joined the channel
ic0n
I feel that code should document itself mostly... commenting should talk about what a block of code does assumnig it's not trivial.
genii joined the channel
extremx joined the channel
fixxxermet
OK, the Frame view is 'done enough'
Now the hard part is making the event stream become dvr-like
It is easy to just put a starting, stopping, pausing, etc
This is where having events as videos would make my life easier
knnniggett
fixxxermet: Maybe we should discuss that. Maybe zm 2.0 should be bundled with a new ui + recording to video
fixxxermet
I guess I wasn't thinking ahead. The last day of work on the Frames view will be obsolite with recording to video
barjac has quit
obsolete
But anyway
My plan was this - and I know it was not communicated well: Build a 'new' frontend, inside of ZM's current framework (a new skin). That skin would be 99% javascript, with almost all PHP moved to the API.
This would happen in 1.29 or something like that.
knnniggett
Sometimes putting a lot into something, only to find that you don't want to do it that way, is still knowledge gained. Your time was not wasted.
fixxxermet
Next would be moving my 'skin' to a full 'frontend', where the restof the web/ dir, except for api/, is not needed
very true knnniggett
Right now I'm still using ?skin=bootstrap. But in my next iteration, when the frontend is actually 'complete', you'll just go to index.html
(no php)
That said, that would have been my 2.0 release, as it is not backwards compatible with the legacy UI
Clear as mud? :)
knnniggett
All javascript? huh, I guess I didn't see that coming
fixxxermet
Well
javascript, css, html
sorry
The new frontend is an 'angularjs single page app', really
tldr: I was hoping to release the first iteration before 2.0
As a release candidate of the new UI, I guess. With 2.0 as the official launch
knnniggett
got it. So then we are back to figuring out how to manage events as jpegs.
So I guess there is no container out there that can contain a bunch of jpegs?
fixxxermet
I wish I could use the <video> tag with a src="" of zms
That is, having zms natively spitout h264 or whatever
<video src="/cgi-bin/nph-zms?mode=mpeg&monitor=25&scale=100&bitrate=1500000&maxfps=30&format=webm&connkey=484161&rand=1422377232" controls> actually works
knnniggett
You will have to generate a hash for that url when authentication is enabled
fixxxermet
Yup
knnniggett
and maybe you can tell me how to do that :0(
:-)
fixxxermet
Was just testing to see if zms could already stream a <video>-compatible codec, and it can