kiewic / MediaElementWithHttpClient

Use Windows.UI.Xaml.Controls.MediaElement with Windows.Web.Http.HttpClient.
MIT License
22 stars 12 forks source link

Problem with Ip Camera #6

Open cahernanz opened 7 years ago

cahernanz commented 7 years ago

I trying to get the stream from an ip camera. So when i pass the follwing url http://192.168.0.21:6021/cgi-bin/cmd/encoder?GET_STREAM it ask fot user and password. So, when i entry the credentials it crashes showing the following exception

StatusCode: 200, ReasonPhrase: 'OK', Version: 1, Content: Windows.Web.Http.HttpStreamContent, Headers: { Connection: Keep-Alive Cache-Control: no-cache Pragma: no-cache }{ Content-Type: multipart/x-mixed-replace;boundary=----------------boundary } Exception: 'System.InvalidOperationException' en mscorlib.ni.dll

Do you know how it could works with these device?

kiewic commented 7 years ago

Can you share the callstack of the exception and the HRESULT property value if available?

cahernanz commented 7 years ago

It appears this message {"Problema de seguridad. (Exception from HRESULT: 0x800C000E)"}

cahernanz commented 7 years ago

StatusCode: 200, ReasonPhrase: 'OK', Version: 1, Content: Windows.Web.Http.HttpStreamContent, Headers: { Connection: Keep-Alive Cache-Control: no-cache Pragma: no-cache }{ Content-Type: multipart/x-mixed-replace;boundary=----------------boundary }