rvi / ONVIFCameraAndroid

Example on how to connect to an ONVIF camera on Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

request failed: GetStreamURI

MajdSharabah opened this issue · comments

Hi rvi
i'm work with Onvif camera
i use your project to connect my ip camera
and i have this response. Please help.

E/ERROR: request failed: GetStreamURI
Response: 500 - Internal Server Error
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:xs="http://www.w3.org/2000/10/XMLSchema" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2" xmlns:wsrf-r="http://docs.oasis-open.org/wsrf/r-2">env:Bodyenv:Faultenv:Codeenv:Valueenv:Sender</env:Value>env:Subcodeenv:Valueter:InvalidArgs</env:Value></env:Subcode></env:Code>env:Reason<env:Text xml:lang="en">Invalid Args</env:Text></env:Reason></env:Fault></env:Body></env:Envelope>

commented

Something is wrong with arguments that your app is sending, according to official documentation:

  • missing argument
  • too many arguments
  • arguments are of the wrong data type.

for more check https://www.onvif.org/specs/core/ONVIF-Core-Specification-v1612.pdf

Sorry for the late reply, somehow, github notifications are going to my spam folder.

It was working for me at the time this project was developed on 7/10 different cameras. I don't have access to those cameras anymore so I'm not able to reproduce this issue..