Code Monkey home page Code Monkey logo

Comments (6)

AlexxIT avatar AlexxIT commented on June 15, 2024

Check logs

from streamassist.

relust avatar relust commented on June 15, 2024

I use Tapo c100 with Stream Assist directly with rtsp link and it works very well
rtsp://administrator:[email protected]:554/stream2

My question is if it would be possible to make the media player functional with the help of go2rtc to also play the answer on the tapo camera.

from streamassist.

AlexxIT avatar AlexxIT commented on June 15, 2024

go2rtc supports two way for Tapo cameras via tapo protocol

from streamassist.

Gompman avatar Gompman commented on June 15, 2024

I now also have the camera directly via rtsp://user:[email protected]:554/stream2conected.
Here I get in the logs: "<class 'av.error.PermissionError'>: [Errno 1] Operation not permitted:" if I open the same stream via VLC I have picture and sound.

The variant behind Frigate gives the following error: "stream exception <class 'av.error.OSError'>: [Errno 5] I/O error: 'rtsp://192.168.xxx.zzz:8554/Office'". Also possible to watch via VLC

Frigate config:

....
go2rtc:
  streams:
    Office: # <- for RTSP streams
      - tapo://[email protected]
      - "ffmpeg:Office#audio=aac"

##### Büro Stream Assist #####
cameras:
  Office:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/Office # <--- the name here must match the name of the camera in restream
          input_args: preset-rtsp-restream
    record:
      enabled: False
....

LOGS

2024-03-04 20:30:18.130 DEBUG (MainThread) [custom_components.stream_assist.core.stream] stream open
2024-03-04 20:30:23.201 DEBUG (MainThread) [custom_components.stream_assist.core] run_stream error <class 'av.error.PermissionError'>: [Errno 1] Operation not permitted: 'rtsp://user:[email protected]:554/stream2'
2024-03-04 20:30:33.243 DEBUG (MainThread) [custom_components.stream_assist.core.stream] stream open
2024-03-04 20:30:38.289 DEBUG (SyncWorker_21) [custom_components.stream_assist.core.stream] stream start
2024-03-04 20:30:43.385 DEBUG (SyncWorker_21) [custom_components.stream_assist.core.stream] stream exception <class 'av.error.ExitError'>: [Errno 1414092869] Immediate exit requested: 'rtsp://192.168.xxx.zzz:8554/Office'
2024-03-04 20:30:43.386 DEBUG (SyncWorker_21) [custom_components.stream_assist.core.stream] stream end
2024-03-04 20:30:53.202 DEBUG (MainThread) [custom_components.stream_assist.core.stream] stream open
2024-03-04 20:30:58.272 DEBUG (MainThread) [custom_components.stream_assist.core] run_stream error <class 'av.error.PermissionError'>: [Errno 1] Operation not permitted: 'rtsp://user:[email protected]:554/stream2'
2024-03-04 20:31:13.388 DEBUG (MainThread) [custom_components.stream_assist.core.stream] stream open
2024-03-04 20:31:18.395 DEBUG (SyncWorker_43) [custom_components.stream_assist.core.stream] stream start
2024-03-04 20:31:23.395 DEBUG (SyncWorker_43) [custom_components.stream_assist.core.stream] stream exception <class 'av.error.ExitError'>: [Errno 1414092869] Immediate exit requested: 'rtsp://192.168.xxx.zzz:8554/Office'
2024-03-04 20:31:23.395 DEBUG (SyncWorker_43) [custom_components.stream_assist.core.stream] stream end
2024-03-04 20:31:28.272 DEBUG (MainThread) [custom_components.stream_assist.core.stream] stream open
2024-03-04 20:31:33.347 DEBUG (MainThread) [custom_components.stream_assist.core] run_stream error <class 'av.error.PermissionError'>: [Errno 1] Operation not permitted: 'rtsp://user:[email protected]:554/stream2'

from streamassist.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.