Skip to content
This repository was archived by the owner on Jun 14, 2026. It is now read-only.
This repository was archived by the owner on Jun 14, 2026. It is now read-only.

Playback of events fails using view=video mode #275

@trx909

Description

@trx909

Platform & OS Version
Android 5.1.1 & Desktop (Ubuntu 16.04)

The version of the app you are reporting:
1.1.93

What is the nature of your issue
Bug

Details
I use a current snaphost of the feature-h264-videostorage branch. Playback of recorded videos works fine in the browser, but not with zmNinja. With zmNinja 1.1.7 everything is ok.
There are no errors in the debug-log, but you could see youself:

Jun 21, 2016 10:06 PM INFO API for event detailshttp://beta/zm/api/events/525.json
Jun 21, 2016 10:06 PM INFO API for event detailshttp://beta/zm/api/events/525.json
Jun 21, 2016 10:06 PM DEBUG EventCtrl: Scrubbing will turn on now
Jun 21, 2016 10:06 PM DEBUG EventCtrl:loading one more page just in case we don't have enough to display
Jun 21, 2016 10:06 PM DEBUG EventCtrl: success, got 37 events
Jun 21, 2016 10:06 PM DEBUG EventCtrl: grabbing events for: id=0 Date/Time:-
Jun 21, 2016 10:06 PM DEBUG EventCtrl: found 2 pages of events
Jun 21, 2016 10:06 PM DEBUG Setting up carousel watchers
Jun 21, 2016 10:06 PM DEBUG EventCtrl: grabbing # of event pages
Jun 21, 2016 10:06 PM DEBUG getInitialEvents called
Jun 21, 2016 10:06 PM DEBUG Not sending WSS message as event server is off
Jun 21, 2016 10:06 PM INFO Image padding digits reported as 5
Jun 21, 2016 10:06 PM INFO ZM_EVENT_IMAGE_DIGITS is already configured for 5
Jun 21, 2016 10:06 PM INFO Returning pre-loaded list of 1 monitors
Jun 21, 2016 10:06 PM INFO Force calling resize
Jun 21, 2016 10:06 PM DEBUG All images loaded
Jun 21, 2016 10:06 PM INFO Whoops!! Monitors have changed. I'm resetting layouts, sorry!
Jun 21, 2016 10:06 PM INFO Monitors that are active and not DOM hidden: 1 while grid has undefined
Jun 21, 2016 10:06 PM INFO Did NOT find a packery layout
Jun 21, 2016 10:06 PM INFO Stream authentication construction:
Jun 21, 2016 10:06 PM INFO Data Model: Did not find any stream mode of auth
Jun 21, 2016 10:06 PM INFO DataModel: Did not find a stream auth key, looking for user=
Jun 21, 2016 10:06 PM DEBUG DataModel: Getting auth from http://beta/zm/index.php?view=watch&mid=2&connkey=761590 with mid=2
Jun 21, 2016 10:06 PM INFO Inside Montage Ctrl:We found 1 monitors
Jun 21, 2016 10:06 PM DEBUG skipping image refresh, packery is still loading
Jun 21, 2016 10:06 PM DEBUG Setting image mode to snapshot, will change to image when packery is all done
Jun 21, 2016 10:06 PM DEBUG API 1.30.0: Monitor 2 will use fid for direct image access
Jun 21, 2016 10:06 PM INFO multi server list loaded{"servers":[]}
Jun 21, 2016 10:06 PM INFO ZM_EVENT_IMAGE_DIGITS is 5
Jun 21, 2016 10:06 PM INFO Monitor load was successful, loaded 1 monitors
Jun 21, 2016 10:06 PM DEBUG Now trying to get multi-server data, if present
Jun 21, 2016 10:06 PM INFO Got API version: 1.30.0
Jun 21, 2016 10:06 PM INFO ZM has recaptcha disabled - good
Jun 21, 2016 10:06 PM INFO getMonitors:Loading all monitors
Jun 21, 2016 10:06 PM DEBUG
Jun 21, 2016 10:06 PM INFO No Event Server configured, skipping refresh
Jun 21, 2016 10:06 PM DEBUG getAPIversion called
Jun 21, 2016 10:06 PM DEBUG Config URL for digits is:http://beta/zm/api/configs/viewByName/ZM_EVENT_IMAGE_DIGITS.json
Jun 21, 2016 10:06 PM DEBUG PortalLogin: auth success
Jun 21, 2016 10:06 PM INFO Stream authentication construction:
Jun 21, 2016 10:06 PM INFO Deferring auth key, as monitorId unknown
Jun 21, 2016 10:06 PM DEBUG auth-success emit:Successful
Jun 21, 2016 10:06 PM INFO zmAutologin successfully logged into Zoneminder
Jun 21, 2016 10:06 PM INFO Checking if reCaptcha is enabled in ZM...
Jun 21, 2016 10:06 PM INFO zmAutologin called
Jun 21, 2016 10:06 PM DEBUG Resetting zmCookie...
Jun 21, 2016 10:06 PM INFO Cancelling zmAutologin timer
Jun 21, 2016 10:06 PM DEBUG PIN code entered is correct, or there is no PIN set
Jun 21, 2016 10:06 PM DEBUG unlock called with check PIN=true
Jun 21, 2016 10:06 PM INFO not checking for touchID
Jun 21, 2016 10:06 PM INFO User credentials are provided
Jun 21, 2016 10:06 PM DEBUG Inside Portal login Enter handler
Jun 21, 2016 10:06 PM INFO Setting up POST LOGIN timer

But it seems like the event is not being requested in the right way, the apache error-log show this every time:

[client xxx.xxx.xxx.xxx:45250] ERR [Path: 2/16/06/21/21/50/00/525-video.mp4]

and sometimes:

[client xxx.xxx.xxx.xxx:45250] PHP Notice: Undefined property: Event::$StorageId in /usr/share/zoneminder/www/includes/Event.php on line 31

I know that videostorage is bleeding edge, but as it worked before this issue should be not too hard to resolve.

Thanks for your help in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions