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

Tuya: EOF on RTSP stream #45

Closed
leonardpitzu opened this issue Dec 5, 2024 · 10 comments
Closed

Tuya: EOF on RTSP stream #45

leonardpitzu opened this issue Dec 5, 2024 · 10 comments

Comments

@leonardpitzu
Copy link

I've got a Philips branded Tuya baby monitor. It works as expected with both Tuya Smart and the Philips Avent app (currently using Tuya Smart). I can successfully get the rasps url but cannot stream anything as I only get a EOF error (with both your script + go2rtc and FFMPEG). Apparently the streaming url is not got or something else is broken as streaming only works in the Tuya app and in no other app/script/tool.
Any hint to debug it or figure out what the problem is?

@felipecrs
Copy link
Owner

Which script are you referring to?

get_stream.sh or get_tuya_stream_url.py?

@felipecrs felipecrs changed the title EOF stream Tuya EOF on RTSP stream Dec 5, 2024
@felipecrs felipecrs changed the title Tuya EOF on RTSP stream Tuya: EOF on RTSP stream Dec 5, 2024
@felipecrs
Copy link
Owner

Have you tried with HLS?

image

@felipecrs
Copy link
Owner

By the way, during testing phase, don't hook go2rtc yet. Call the script and try to play the output in something like VLC (just be fast, because the URL for Tuya streams expires in a few seconds).

@leonardpitzu
Copy link
Author

I tried with HLS and RTSP. Both with the Python script. I tried with VLC and none is working.
I can share the camera if you give me an email address.

@felipecrs
Copy link
Owner

Both output a stream link, but none works, right?

@leonardpitzu
Copy link
Author

Yes, both output a link and none works.

@felipecrs
Copy link
Owner

Got it. In this case, there's nothing I can do for you. The purpose of my scripts is to give you the stream URLs. If they don't work, that's beside the point. Sorry. :(

However, I have some suggestions for you:

  1. Try this WIP WebRTC Tuya source for go2rtc: Add tuya webrtc support AlexxIT/go2rtc#1379
  2. I never tried, but there's this one too: Add support for xtend_tuya AlexxIT/go2rtc#1412

@felipecrs
Copy link
Owner

felipecrs commented Dec 5, 2024

Oh, by the way, do you have IoT Video Live Stream API active?

image

@leonardpitzu
Copy link
Author

image

@felipecrs
Copy link
Owner

Alright. If you ever find a solution for this, I'd appreciate you let me know how. Good luck!

@felipecrs felipecrs closed this as not planned Won't fix, can't repro, duplicate, stale Dec 5, 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

2 participants