Android Question How to stream or show this camera live video URL?

Suntzu

Member
Licensed User
Hello everyone,

I'm trying to access my security camera's live view feature. I get the server URL via json response with this payload:

B4X:
immis://35.163.152.226:443/mUJn8-wyeaHTguSQ__IMDS_XXXXXXXXX?client_id=17
How do I stream or download or at least access the above video URL? I have tried MediaPlayer, Exoplayer, and Webview but nothing worked.
 
Last edited:

Syd Wright

Well-Known Member
Licensed User
Are you sure the stream starts with "immis://" ? I have never seen that before.
Normally streams start with "http", "https", "rtmp" or "rtsp" and often end with ".m3u8".
 

Suntzu

Member
Licensed User
Yes, I'm positive on that. That's the first thing that puzzles me. I also tried replacing it with rtsp and rtsps before calling "Play" method but to no avail.
 

Suntzu

Member
Licensed User
This is with immis "protocol":

B4X:
Your search - immis://35.163.152.226:443/NM4VrImnbmXBetMr__IMDS_XXXXXXXXXX?client_id=17 - did not match any documents.

Suggestions:

Make sure all words are spelled correctly.
Try different keywords.
Try more general keywords.
Try fewer keywords.
With http:

B4X:
This page isn’t working35.163.152.226 didn’t send any data.
ERR_EMPTY_RESPONSE
With https:

B4X:
This site can’t provide a secure connection35.163.152.226 uses an unsupported protocol.
ERR_SSL_VERSION_OR_CIPHER_MISMATCH
This is the full json payload with IDs redacted:

B4X:
{"id":XXXXXXXXX,"server":"immis://35.163.152.226:443/NM4VrImnbmXBetMr__IMDS_XXXXXXXXX?client_id=17","duration":300,"device_name":"Front Yard","camera_name":"Front Yard","network_id":XXXXX,"continue_interval":30,"continue_warning":10,"submit_logs":true,"lv_save":true}
 

Syd Wright

Well-Known Member
Licensed User
1. Is "XXXXXXXXXX" really actually part of the URL or did you substitute this part of the URL bij "X"s?
2. Did you try "rtmp://..." or "mms://" ?
3. Have you tried the Vitamio video player by Moster67:
https://www.b4x.com/android/forum/threads/vitamio-5-version-5-2-3.65176/#content
I have noticed that Vitamio is better at playing (obscure) video streams than Exoplayer.

Update: I tried your stream URL in my Vitamio player but without success.
In doing so, I also replaced "immis" by "http", "rtmp" and "rtsp" and also deleted the part after "?" which sometimes helps to play a video stream. :-(
 
Last edited:

Suntzu

Member
Licensed User
1. The XXXXXXXXX part of the URL is a redacted value.
2. Yeah, I tried both protocols but without success as well.
3. I did but same result.

Thanks Syd for replicating it.
 
Top