Blue Iris 5 Onvif (OXML) and PTZ

Post Reply
fettkeewl
Posts: 4
Joined: Sun Sep 22, 2019 10:39 am

Blue Iris 5 Onvif (OXML) and PTZ

Post by fettkeewl »

Hello

I have this V380 "Wifi smart net camera"
https://v380-camera.com/collections/ind ... ity-camera

Im trying to get PTZ working in Blue Iris. The PTZ works with the dedicated V380 Pro app for android aswell as Onvifer app for android.
I have tested the camera in onvifers windows version aswell called "IP CENTCOM"
I used WireShark to see what was sent from my PC to the cameras when pressing a PAN/TILT button, using IP CENTCOM aswell as Blue Iris (ONVIF OXML).
Results are in the image below, Blue iris beeing the right one.

Seems like Blue Iris defaults to doing a SOAP post to h ttp://camip:8899/onvif/device_service which is not working.
While "IP CENTCOM" does a SOAP post to h ttp://camip:8899/onvif/PTZ that is working.

Am I basically screwed or is there a way to change this behaviour in order to get PTZ working with my camera in Blue Iris 5.

Image
User avatar
TimG
Posts: 2084
Joined: Tue Jun 18, 2019 10:45 am
Location: Nottinghamshire, UK.

Re: Blue Iris 5 Onvif (OXML) and PTZ

Post by TimG »

Hi, that would be one directly for support to answer. Have you sent them an email about it ?
Forum Moderator.
Problem ? Ask and we will try to assist, but please check the Help file.
fettkeewl
Posts: 4
Joined: Sun Sep 22, 2019 10:39 am

Re: Blue Iris 5 Onvif (OXML) and PTZ

Post by fettkeewl »

TimG wrote: Sun Sep 22, 2019 1:01 pm Hi, that would be one directly for support to answer. Have you sent them an email about it ?
Hello,

No I have not contacted support directly as I thought this would be a better way to go where a possible solution
would be available for everyone to see, is the Blue Iris support not active here? I'm a first time user/poster in regards to Blue Iris
and currently evaluating the switch from iVideon to Blue Iris :)
fettkeewl
Posts: 4
Joined: Sun Sep 22, 2019 10:39 am

Re: Blue Iris 5 Onvif (OXML) and PTZ

Post by fettkeewl »

Hello again,

I've sent an email to the support with a link to this thread.
I've dug some more into wireshark and this is what I found inspecting software that works with PTZ vs blue iris

In the envelope the big difference I see is that in the software where PTZ is working
there is a snippet like this:
<ProfileToken xmlns="http://www.onvif.org/ver20/ptz/wsdl">st ... ofileToken>

While in blue iris it looks like this
<ProfileToken></ProfileToken>

IP Centcom

Code: Select all

<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope">
	<s:Header>
		<Security xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
			<UsernameToken xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
				<Username>admin</Username>
				<Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">#########################</Password>
				<Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">1XhVaZzsMtd2sX2MkUYerA==</Nonce>
				<Created xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">1979-11-30T00:26:23Z</Created>
			</UsernameToken>
		</Security>
	</s:Header>
	<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<ContinuousMove xmlns="http://www.onvif.org/ver20/ptz/wsdl">
			<ProfileToken xmlns="http://www.onvif.org/ver20/ptz/wsdl">stream0_0</ProfileToken>
			<Velocity xmlns="http://www.onvif.org/ver20/ptz/wsdl">
				<PanTilt x="0.2" y="0" xmlns="http://www.onvif.org/ver10/schema"/>
				<Zoom x="0" xmlns="http://www.onvif.org/ver10/schema"/>
			</Velocity>
		</ContinuousMove>
	</s:Body>
</s:Envelope>
Blue Iris:

Code: Select all

<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope">
	<s:Header>
		<Security s:mustUnderstand="1" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
			<UsernameToken>
				<Username>admin</Username>
				<Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">#########################=</Password>
				<Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">MNaVden+XJ80Crw4eUgUOKSMOio=</Nonce>
				<Created xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2019-09-23T10:53:46.000Z</Created>
			</UsernameToken>
		</Security>
	</s:Header>
	<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<ContinuousMove xmlns="http://www.onvif.org/ver20/ptz/wsdl">
			<ProfileToken></ProfileToken>
			<Velocity>
				<PanTilt x="0.5" y="0" xmlns="http://www.onvif.org/ver10/schema"/>
			</Velocity>
		</ContinuousMove>
	</s:Body>
</s:Envelope>
dshimes
Posts: 1
Joined: Thu Sep 26, 2019 11:44 am

Re: Blue Iris 5 Onvif (OXML) and PTZ

Post by dshimes »

I finally got the Wish $15 dollar V380 camera to work in Blue Iris:

On the Video Tab
Ip address of camera, ie: http://192.168.0.93:34567
Put in the username and password you setup for the camera, I believe admin is default and can't be changed but you set the password.
For the Make, choose Cantonk and the Model should be this H.264 port 34567
For the Media/Video/RTSP port use 34567 and I don't think the Discovery/ONVIF port matters but I have 8999 in there
Under Video - Params it should be Main and Camera is 0.
I also enabled the Audio under the Audio Tab, I checked Enable Audio Channel. Now I have Audio
PTZ also works.
Only thing I have not tried was two way audio but that is not needed for me.

That's it. Now this cheap camera will show up in Blue Iris. By the way I have Blue Iris 5 that I have this working on.

Goodluck.
fettkeewl
Posts: 4
Joined: Sun Sep 22, 2019 10:39 am

Re: Blue Iris 5 Onvif (OXML) and PTZ

Post by fettkeewl »

dshimes wrote: Thu Sep 26, 2019 11:47 am I finally got the Wish $15 dollar V380 camera to work in Blue Iris:

On the Video Tab
Ip address of camera, ie: http://192.168.0.93:34567
Put in the username and password you setup for the camera, I believe admin is default and can't be changed but you set the password.
For the Make, choose Cantonk and the Model should be this H.264 port 34567
For the Media/Video/RTSP port use 34567 and I don't think the Discovery/ONVIF port matters but I have 8999 in there
Under Video - Params it should be Main and Camera is 0.
I also enabled the Audio under the Audio Tab, I checked Enable Audio Channel. Now I have Audio
PTZ also works.
Only thing I have not tried was two way audio but that is not needed for me.

That's it. Now this cheap camera will show up in Blue Iris. By the way I have Blue Iris 5 that I have this working on.

Goodluck.
Hi,

Thank you for your response, unfortunately your workaround does not seem to work for me.
I dont have any more open ports past 8899, took a while to scan lol. Trying out the manufacturers software I found out that the h.264 media stream goes over 8800.
Unfortunately I could not connect through that port no matter what I've tried (from Blue Iris). Since its TCP transmission being sent to and from the camera I can't decipher it, it's beyond my knowledge.
The devs have helped me out and removed the 'mustUnderstand' header from OXML posts to the camera so now I can talk to the camera properly and use the PTZ. Audio would have been a neat addon though, does not work over RTSP it seems.

Initial Blue Iris scan gives me theese results:
Opening 192.168.1.54 port 80...
HTTP Get / request...
Failed with HTTP 12029
Opening 192.168.1.54 port 8899...
ONVIF GetSystemDateAndTime
Requesting device information...
Manufacturer: IPCAM
Model: IPCAM
FirmwareVersion: HS-Camera_No1
GetCapabilities...
Querying services
Has media services: /onvif/Media
Has RTP_RTSP_TCP, requesting profiles
first profile is stream0_0
first source is VideoSource0
requesting URI for profile stream0_0
RTSP URI: /live/ch00_1
RelayOutputs: 1
InputConnectors: 1
Has Device IO services: /onvif/DeviceIO
AudioOutputs: 0
Has PTZ service: /onvif/PTZ
Done

What are yours? Can you link me to what model you have?
There is btw a v380 profile in Blue Iris, did u try it prior to Cantonk?
moshe1980
Posts: 1
Joined: Tue Nov 19, 2019 6:50 am

Re: Blue Iris 5 Onvif (OXML) and PTZ

Post by moshe1980 »

how did you fix the 'mustUnderstand' header from OXML ?

thx
Post Reply