yashrs / ONVIF-Camera

An Android app for viewing ONVIF camera's. Users can take screenshot of video while they are watching and also Picture in Picture in Android
MIT License
18 stars 11 forks source link

400 Bad request #1

Open vjsingh96 opened 5 years ago

vjsingh96 commented 5 years ago

This is my response. Please help

400 - Bad Request

SOAP-ENV:BodySOAP-ENV:FaultSOAP-ENV:CodeSOAP-ENV:ValueSOAP-ENV:SenderSOAP-ENV:ReasonMethod 'GetStreamUri' not implemented: method name or namespace not recognized
yashrs commented 5 years ago

Where exactly are you getting this error?

vjsingh96 commented 5 years ago

When i call below function.

fun getStreamURI() {

    mediaProfiles.firstOrNull()?.let {
        val request = OnvifRequest(getStreamURICommand(it), OnvifRequest.Type.GetStreamURI)
        ONVIFcommunication().execute(request)
    }
}
yashrs commented 5 years ago

And which server are you using as IP address and port? Is it supported by ONVIF?

vjsingh96 commented 5 years ago

Yes i have checked in other app.

vjsingh96 commented 5 years ago

Device info and profile getting successful.

ahsan01561 commented 5 years ago

only device information is showing....