c# - Ozeki SDK - Axis camera RTSP authentication failure -
i'm using ozeki sdk c# streaming rtsp axis p1204 camera. when try connect camera, nothing happens , no video streamed.
here code i'm using stream video:
camera = ipcamerafactory.getcamera("rtsp://192.168.0.90:554/axis-media/media.amp", "root", "pass"); connector.connect(camera.videochannel, imageprovider); camera.start(); videoviewer.start();
i traced network traffic wireshark:
seems, ozeki sdk can't login axis p1204. vlc media player, can video stream no problem.
any suggestions?
the snippet quite short 401 unauthorized response. initially, try access camera enabling anonymous access in basic setup users). depending on ozeki sdk having support basic and/or digest authentication, can configure camera allow password type unencrypted (basic authentication) or encrypted (digest authentication).
Comments
Post a Comment