PiPup icon indicating copy to clipboard operation
PiPup copied to clipboard

Please add support for RTSP

Open mvanhelmont opened this issue 5 years ago • 18 comments

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 avatar Nov 05 '19 12:11 mvanhelmont

That would be excellent!

hoasis2 avatar Dec 10 '19 13:12 hoasis2

yes. That will be great!

hungpr0 avatar Dec 10 '19 14:12 hungpr0

would love that also!

william-j-pyle avatar Dec 11 '19 01:12 william-j-pyle

yeah! RTSP support will be great!

blademckain avatar Sep 18 '20 07:09 blademckain

My PR which enables Javascript in the WebView (https://github.com/rogro82/PiPup/pull/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.

madjam002 avatar Jan 10 '21 00:01 madjam002

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?

hungpr0 avatar Jan 19 '21 03:01 hungpr0

@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.

madjam002 avatar Jan 19 '21 15:01 madjam002

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

tungmeister avatar Sep 07 '21 15:09 tungmeister

@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 avatar Oct 01 '21 02:10 gmcmicken

APK available here

gmcmicken avatar Oct 03 '21 19:10 gmcmicken

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?

jay448 avatar Dec 02 '21 21:12 jay448

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.

gmcmicken avatar Dec 02 '21 21:12 gmcmicken

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

jay448 avatar Dec 02 '21 21:12 jay448

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.

gmcmicken avatar Dec 02 '21 22:12 gmcmicken

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)

Anon666333 avatar Mar 28 '23 10:03 Anon666333

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

chinswain avatar Sep 15 '23 19:09 chinswain

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

hafx avatar Feb 11 '24 22:02 hafx

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 }}

Anon666333 avatar Feb 15 '24 22:02 Anon666333