Android Question MJPEG decoder and Protected Camera Problem

Ohanian

Active Member
Licensed User
Longtime User
Hi,
i'm trying to get the image from an IP camera, but got no result, the sample works fine, but with my values there's no result.

sample code :
Code: Copy
mj1.Initialize(Me, "mj1")
mj1.Connect("96.249.39.25/mjpg/video.mjpg", 80)

my code :
Code: Copy
mj1.Initialize(Me, "mj1")
mj1.Connect("opr:[email protected]/mjpg/video.mjpg", 8000)

The differences are:
Port Number, mine is 8000
User credentials

any suggestion?
 
Add Log(BytesToString(buffer, 0, buffer.length, "utf8")) to AStream_NewData event and see what the server returns.

got this message in Sock_Connected with Successful = false

Code: Copy
(GaiException) android.system.GaiException: android_getaddrinfo failed: EAI_NODATA (No address associated with hostname)

Code: Copy
hostname > opr:[email protected]
 
Upvote 0
Hi,

i don't see any way to pass the user credentials to Socket!
could you please be more specific?

tnx
 
Upvote 0
Back
Top