GuilhermeC18 / node-onvif

The node-onvif is a Node.js module which allows you to communicate with the network camera which supports the ONVIF specifications.
MIT License
443 stars 198 forks source link

How to set Default videoSourceConfiguration and videoEncoderConfiguration #64

Open surendragalwa11 opened 4 years ago

surendragalwa11 commented 4 years ago

Hi, I'm pretty new to onvif protocol. I have the following requirements:-

  1. Change default video source config (I hope setVideoSourceConfiguration may be helpful here), where I want to change the camera's default resolution and FPS. (For streaming and everything else).

  2. I want to record camera streaming at multiple resolutions (let's say 1920x1080, 720x480, etc) and FPS, how to do that? (I guess I need to create a new profile with required videoEncoderConfiguration). Is that right?

  3. I want to change the camera's default contrast, saturation, hue, and other images params and for a particular profile. Which method do I need to use?

Thanks in advance.

surendragalwa11 commented 4 years ago

Additionally, I guess videoSourceConfiguration applies to all the profiles as default so it will change all the default stream's config and videoEncoderConfiguration changes a particular profile's config. Is it the case, If NO then please tell me how can I change the default configuration for all the streams (let's say I want to change Resolution and FPS).

Thanks a ton!