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

Please add support for RTSP #8

Closed
mvanhelmont opened this issue Nov 5, 2019 · 18 comments
Closed

Please add support for RTSP #8

mvanhelmont opened this issue Nov 5, 2019 · 18 comments

Comments

@mvanhelmont
Copy link

Hi Rogro,

i love the idea of the program and it is nice to have support for RTSP so we cam stream ip camera to it.

thanks

@hoasis2
Copy link

hoasis2 commented Dec 10, 2019

That would be excellent!

@hungpr0
Copy link

hungpr0 commented Dec 10, 2019

yes. That will be great!

@william-j-pyle
Copy link

would love that also!

@blademckain
Copy link

yeah! RTSP support will be great!

@madjam002
Copy link

madjam002 commented Jan 10, 2021

My PR which enables Javascript in the WebView (#34) in conjunction with something like https://github.com/mpromonet/webrtc-streamer allows you to achieve nearly zero latency streaming of an RTSP stream.

Just set media.web instead of media.video and point it to the URL of your webrtc-streamer frontend.

Alternatively you could point the URL to a Home Assistant dashboard to show that instead.

@hungpr0
Copy link

hungpr0 commented Jan 19, 2021

My PR which enables Javascript in the WebView (#34) in conjunction with something like https://github.com/mpromonet/webrtc-streamer allows you to achieve nearly zero latency streaming of an RTSP stream.

Just set media.web instead of media.video and point it to the URL of your webrtc-streamer frontend.

Alternatively you could point the URL to a Home Assistant dashboard to show that instead.

Hello madjam002,

Thanks for your comment. Is there any pre-built apk file that I can use to install?

@madjam002
Copy link

@Diamond2 Not at the moment, you'll need to clone and build it. I was hoping it would be merged soon but I'm not sure if this project is maintained anymore as there are a few PRs that are open.

@tungmeister
Copy link

tungmeister commented Sep 7, 2021

@madjam002 any chance of an Apk to try out?
EDIT: compiled it myself - it's now working perfectly with my nest doorbell stream. Thanks.

@gmcmicken
Copy link

@madjam002 any chance of an Apk to try out? EDIT: compiled it myself - it's now working perfectly with my nest doorbell stream. Thanks.

Hey @tungmeister can you help me out with the APK?

@gmcmicken
Copy link

APK available here

@jay448
Copy link

jay448 commented Dec 2, 2021

APK available here

The APK you created works great! I'm now able to stream my WebRTC URL to my Android TV. I'm just having the issue of the live feed buffering like crazy during the showing of the video. Any idea how I could fix this? Does it have something to do with the WebRTC feed?

@gmcmicken
Copy link

APK available here

The APK you created works great! I'm now able to stream my WebRTC URL to my Android TV. I'm just having the issue of the live feed buffering like crazy during the showing of the video. Any idea how I could fix this? Does it have something to do with the WebRTC feed?

Ya, add "&webrtc=false" to the URL. I was having the same issue with buffering, and find that forcing mse mode worked better.

@jay448
Copy link

jay448 commented Dec 2, 2021

APK available here

The APK you created works great! I'm now able to stream my WebRTC URL to my Android TV. I'm just having the issue of the live feed buffering like crazy during the showing of the video. Any idea how I could fix this? Does it have something to do with the WebRTC feed?

Ya, add "&webrtc=false" to the URL. I was having the same issue with buffering, and find that forcing mse mode worked better.

Thanks. Disabling this does appear to make thing a little better but this stream is still buffering. Can I find other URL agruments somewhere to test around with? Perhaps there is a way to lower the stream quality?

This is my current URL:
https://*private*.duckdns.org:8123/webrtc/embed?url=voordeur1&webrtc=false

@gmcmicken
Copy link

APK available here

The APK you created works great! I'm now able to stream my WebRTC URL to my Android TV. I'm just having the issue of the live feed buffering like crazy during the showing of the video. Any idea how I could fix this? Does it have something to do with the WebRTC feed?

Ya, add "&webrtc=false" to the URL. I was having the same issue with buffering, and find that forcing mse mode worked better.

Thanks. Disabling this does appear to make thing a little better but this stream is still buffering. Can I find other URL agruments somewhere to test around with? Perhaps there is a way to lower the stream quality?

This is my current URL:
https://*private*.duckdns.org:8123/webrtc/embed?url=voordeur1&webrtc=false

Maybe it was the other option mse=false, you can see all the params on the GitHub readme it's a direct copy of the card configuration parameters.

@Anon666333
Copy link

Hi Rogro,

i love the idea of the program and it is nice to have support for RTSP so we cam stream ip camera to it.

thanks

@mvanhelmont
I know this is an extremely old post and the issue has been resolved, but I believe you were trying to get this to work with a nest doorbell, yeah?
I saw somewhere that you compiled this yourself and got the nest doorbell live feed working with pipup... How? Any insight is greatly appreciated (sorry if I'm missing something already mentioned)

tjikkun pushed a commit to tjikkun/PiPup that referenced this issue Aug 19, 2023
@chinswain
Copy link

Would also like to know how you got this working with a Nest doorbell.

@hafx
Copy link

hafx commented Feb 11, 2024

Hi,
By default it seems the audio is muted when playing the webrtc.
Does anyone know if it is possible to unmute it ?

@Anon666333
Copy link

Anon666333 commented Feb 15, 2024

Hi, By default it seems the audio is muted when playing the webrtc. Does anyone know if it is possible to unmute it ?

Try this? the "muted: false" variable in the webrtc.create_link may help.

alias: Display doorbell PIP Popup on TV
mode: single
variables:
  link_id: "{% for _ in range(40) %}{{ range(10)|random }}{% endfor %}"
sequence:
  - service: webrtc.create_link
    data:
      link_id: "{{ link_id }}"
      entity: camera.cameraname
      open_limit: 0
      time_to_live: 60
      muted: false
  - service: rest_command.pipup_url_on_tv
    data:
      title: Front
      position: 2
      width: 640
      url: https://publicHAAddress/webrtc/embed?url={{ link_id }}

@mvanhelmont mvanhelmont closed this as not planned Won't fix, can't repro, duplicate, stale May 16, 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