Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems viewing the livestream #56

Open
usmcBowden opened this issue Mar 24, 2021 · 9 comments
Open

Problems viewing the livestream #56

usmcBowden opened this issue Mar 24, 2021 · 9 comments

Comments

@usmcBowden
Copy link

I've successfully been able to implement most of the key features that I wanted on my desktop program, thanks to this documentation, but I've never actually dealt with something using live streams.

The api returns the server as such immis://3.133.151.88:443/XXXXXXXXXXXXXXXXXXX?client_id=228

What do I actually do with the url to view the livestream?
I tried using VLC media players network streaming, but it just tells me it can not open the stream. I'm assuming I need some sort of authentication for that.

Sorry if this is a simple, obvious question. This is just stumping me.

@elmbrent118
Copy link

I'm running into same issue, no ideas how to fix.

@neufeind
Copy link
Contributor

neufeind commented Oct 7, 2021

I read that it's supposed to return rtsps-URLs. Maybe you're outside the local network and thus get an URL that is "proxied" through a vendor-gateway? "immis" sounds like it's the vendor and port 443 might be https. Is that some URL you can access through https? If so, will it return a videostream or maybe a website?

@lidiaromo
Copy link

This project has been so helpful for me, thanks. But I also need to get a live stream of my camera blink but i don´t have idea how to get the correct RTSP URL.
Now the URL that returns me the requests is "immis://52.14.239.175:443/xxxxxxxxx__xxxx_G8V000000000F0J0?client_id=123456"
Do you know how i can get the live view with this URL or how to get RTSP URL?

@JasonBSteele
Copy link

JasonBSteele commented Dec 20, 2022

This doesn't seem to work at all for me, I just get <h1>Not Found</h1> in the response.

The URL I am using is (substituting the correct values for account, network and camera
https://rest-prod.immedia-semi.com/api/v5/accounts/111111/networks/22222/cameras/33333/liveview

And also using
https://rest.e002.immedia-semi.com/api/v5/accounts/111111/networks/22222/cameras/33333/liveview

@agavrel
Copy link

agavrel commented Dec 27, 2022

Same for me...

@JasonBSteele
Copy link

JasonBSteele commented Dec 27, 2022

OK, had a stray CR at the end of my URL which seemed to cause a problem for my query using Postman. I have fixed it and exported to curl to get:

curl --location --request POST 'https://rest.e002.immedia-semi.com/api/v5/accounts/11111/networks/22222/cameras/33333/liveview' \
--header 'token-auth: xxxxxxxxxxxxxxxxxxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{"intent":"liveview","motion_event_start_time":""}'

This returned

{
    "command_id": xxxxxxxxxxxxxxxx,
    "join_available": true,
    "join_state": "available",
    "server": "immis://3.71.3.xx:443/_T_xxxxxxxxxxxxxxxx__IMDS_xxxxxxxxxxxxxx?client_id=116",
    "duration": null,
    "extended_duration": 5400,
    "continue_interval": 30,
    "continue_warning": 10,
    "polling_interval": 15,
    "submit_logs": true,
    "new_command": true,
    "media_id": null,
    "options": {}
}

which I guess most of you are getting.

Googling about... and no one seems to know how to view the "immis" stream :(

@agavrel
Copy link

agavrel commented Dec 31, 2022

Have you tried replacing immis with rtsps?

Also not sure what you did with Postman, I have this (notice that I use owls instead of cameras):

curl --location --request POST 'https://rest-xxxx.immedia-semi.com/api/v5/accounts/xxxxxx/networks/xxxxxx/owls/xxxxxx/liveview' \
--header 'token-auth: xxxxxxxxxxxxxxxxxxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{"intent":"liveview", "motion_event_start_time":""}'

and it is returning status code 404 with <h1>Not Found</h1>

@JasonBSteele
Copy link

JasonBSteele commented Jan 2, 2023

Have you tried replacing immis with rtsps?

Also not sure what you did with Postman, I have this (notice that I use owls instead of cameras):

curl --location --request POST 'https://rest-xxxx.immedia-semi.com/api/v5/accounts/xxxxxx/networks/xxxxxx/owls/xxxxxx/liveview' \
--header 'token-auth: xxxxxxxxxxxxxxxxxxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{"intent":"liveview", "motion_event_start_time":""}'

and it is returning status code 404 with <h1>Not Found</h1>

Yes, tried replacing it and using VLC to view it but got:
Your input can't be opened:
VLC is unable to open the MRL 'rtsps://3.72.113.184:443/0hmQtWIoAH5K73p4__IMDS_821447022?client_id=116'. Check the log for details.

I set up the log file for VLC and restarted it and tried again - but didn't get anything at all in the log (I may be doing something wrong).

It's strange you are unable to even get the immis link back. The curls look almost identical... apart from the owls :)

@simon2022
Copy link

Same problem here, immis link can't be open in vlc

Repository owner deleted a comment from yannvr Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants