Created
December 2, 2018 18:39
-
-
Save chertov/fceb3b0ce7428ca3ab3ace963e51b577 to your computer and use it in GitHub Desktop.
onvif camera discovery
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Cam { | |
hostname: '192.168.0.4', | |
username: undefined, | |
password: undefined, | |
port: 80, | |
path: '/onvif/device_service', | |
timeout: 120000, | |
agent: false, | |
preserveAddress: false, | |
events: {}, | |
timeShift: -891, | |
capabilities: | |
{ device: | |
{ XAddr: 'http://192.168.0.4/onvif/device_service', | |
network: [Object], | |
system: [Object], | |
IO: [Object], | |
security: [Object] }, | |
events: | |
{ XAddr: 'http://192.168.0.4/onvif/Events', | |
WSSubscriptionPolicySupport: true, | |
WSPullPointSupport: true, | |
WSPausableSubscriptionManagerInterfaceSupport: true }, | |
imaging: { XAddr: 'http://192.168.0.4/onvif/Imaging' }, | |
media: | |
{ XAddr: 'http://192.168.0.4/onvif/Media', | |
streamingCapabilities: [Object] }, | |
PTZ: { XAddr: 'http://192.168.0.4/onvif/PTZ' }, | |
extension: { deviceIO: [Object] } }, | |
uri: | |
{ ptz: | |
Url { | |
protocol: 'http:', | |
slashes: true, | |
auth: null, | |
host: '192.168.0.4', | |
port: null, | |
hostname: '192.168.0.4', | |
hash: null, | |
search: null, | |
query: null, | |
pathname: '/onvif/PTZ', | |
path: '/onvif/PTZ', | |
href: 'http://192.168.0.4/onvif/PTZ' }, | |
media: | |
Url { | |
protocol: 'http:', | |
slashes: true, | |
auth: null, | |
host: '192.168.0.4', | |
port: null, | |
hostname: '192.168.0.4', | |
hash: null, | |
search: null, | |
query: null, | |
pathname: '/onvif/Media', | |
path: '/onvif/Media', | |
href: 'http://192.168.0.4/onvif/Media' }, | |
imaging: | |
Url { | |
protocol: 'http:', | |
slashes: true, | |
auth: null, | |
host: '192.168.0.4', | |
port: null, | |
hostname: '192.168.0.4', | |
hash: null, | |
search: null, | |
query: null, | |
pathname: '/onvif/Imaging', | |
path: '/onvif/Imaging', | |
href: 'http://192.168.0.4/onvif/Imaging' }, | |
events: | |
Url { | |
protocol: 'http:', | |
slashes: true, | |
auth: null, | |
host: '192.168.0.4', | |
port: null, | |
hostname: '192.168.0.4', | |
hash: null, | |
search: null, | |
query: null, | |
pathname: '/onvif/Events', | |
path: '/onvif/Events', | |
href: 'http://192.168.0.4/onvif/Events' }, | |
device: | |
Url { | |
protocol: 'http:', | |
slashes: true, | |
auth: null, | |
host: '192.168.0.4', | |
port: null, | |
hostname: '192.168.0.4', | |
hash: null, | |
search: null, | |
query: null, | |
pathname: '/onvif/device_service', | |
path: '/onvif/device_service', | |
href: 'http://192.168.0.4/onvif/device_service' }, | |
deviceIO: | |
Url { | |
protocol: 'http:', | |
slashes: true, | |
auth: null, | |
host: '192.168.0.4', | |
port: null, | |
hostname: '192.168.0.4', | |
hash: null, | |
search: null, | |
query: null, | |
pathname: '/onvif/DeviceIO', | |
path: '/onvif/DeviceIO', | |
href: 'http://192.168.0.4/onvif/DeviceIO' } }, | |
profiles: | |
[ { '$': [Object], | |
name: 'profile0_0', | |
videoSourceConfiguration: [Object], | |
videoEncoderConfiguration: [Object], | |
videoAnalyticsConfiguration: [Object], | |
PTZConfiguration: [Object] }, | |
{ '$': [Object], | |
name: 'profile0_1', | |
videoSourceConfiguration: [Object], | |
videoEncoderConfiguration: [Object], | |
videoAnalyticsConfiguration: [Object], | |
PTZConfiguration: [Object] } ], | |
videoSources: | |
[ { '$': [Object], | |
framerate: 15, | |
resolution: [Object], | |
imaging: [Object] } ], | |
defaultProfiles: | |
[ { '$': [Object], | |
name: 'profile0_0', | |
videoSourceConfiguration: [Object], | |
videoEncoderConfiguration: [Object], | |
videoAnalyticsConfiguration: [Object], | |
PTZConfiguration: [Object] } ], | |
activeSources: | |
[ { sourceToken: 'VideoSource0', | |
profileToken: 'profile0_0', | |
encoding: 'H264', | |
width: 1920, | |
height: 1080, | |
fps: undefined, | |
bitrate: 1280, | |
ptz: [Object] } ], | |
defaultProfile: | |
{ '$': { fixed: true, token: 'profile0_0' }, | |
name: 'profile0_0', | |
videoSourceConfiguration: | |
{ '$': [Object], | |
name: 'VideoSourceConfiguration0', | |
useCount: 2, | |
sourceToken: 'VideoSource0', | |
bounds: [Object] }, | |
videoEncoderConfiguration: | |
{ '$': [Object], | |
name: 'VideoEncoderConfiguration0_0', | |
useCount: 1, | |
encoding: 'H264', | |
resolution: [Object], | |
quality: 5, | |
rateControl: [Object], | |
H264: [Object], | |
multicast: [Object], | |
sessionTimeout: 'PT30M' }, | |
videoAnalyticsConfiguration: | |
{ '$': [Object], | |
name: 'video_analytics_config0', | |
useCount: 1, | |
analyticsEngineConfiguration: [Object], | |
ruleEngineConfiguration: [Object] }, | |
PTZConfiguration: | |
{ '$': [Object], | |
name: 'ansjer_ptz_0', | |
useCount: 2, | |
nodeToken: 'ansjer_ptz_0', | |
defaultContinuousPanTiltVelocitySpace: | |
'http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocityGenericSpace', | |
defaultContinuousZoomVelocitySpace: | |
'http://www.onvif.org/ver10/tptz/ZoomSpaces/VelocityGenericSpace', | |
defaultPTZTimeout: 'PT10S' } }, | |
activeSource: | |
{ sourceToken: 'VideoSource0', | |
profileToken: 'profile0_0', | |
encoding: 'H264', | |
width: 1920, | |
height: 1080, | |
fps: undefined, | |
bitrate: 1280, | |
ptz: { name: 'ansjer_ptz_0', token: 'ansjer_ptz_0' } } } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment