Giter Site home page Giter Site logo

Comments (8)

AlexxIT avatar AlexxIT commented on June 14, 2024 1

Go2rtc don't have actual link to your stream.

When you using WebRTC card with entity as source - actual stream link updated on each stream start.

When you using go2rtc API directly - there is no guarantee that link is ok.

from webrtc.

AlexxIT avatar AlexxIT commented on June 14, 2024

I didn't really understand what was going on in the last paragraph

from webrtc.

kizovinh avatar kizovinh commented on June 14, 2024

I didn't really understand what was going on in the last paragraph

in the custom:webrtc-card, there is option for poster, which is the still image showing when the camera is loading. I used MJPEG snapshot, hope it will fetch the image and show it on the card while the camera is loading, but it show a black screen instead.

Sorry for my bad English.

from webrtc.

AlexxIT avatar AlexxIT commented on June 14, 2024

Well. Your question about the snapshot not working.
Show link to shapshot and go2rtc config for this link.

from webrtc.

kizovinh avatar kizovinh commented on June 14, 2024

Well. Your question about the snapshot not working. Show link to shapshot and go2rtc config for this link.

I didn't add any config for go2rtc. Currently I am using ezviz integration and add camera there. Then I use webrtc-card with these ezviz camera entity so it auto create these camera on go2rtc webui. Then I use this link http://192.168.68.104:1984/api/frame.jpeg?src=camera.ezviz_camera to get the snapshot.

This link usually work fine when I open it on any browser. But when I use it as the still image for the card, it shows black screen

from webrtc.

kizovinh avatar kizovinh commented on June 14, 2024

Go2rtc don't have actual link to your stream.

When you using WebRTC card with entity as source - actual stream link updated on each stream start.

When you using go2rtc API directly - there is no guarantee that link is ok.

Thank you, this info helps a lot, however because of the camera connection, and the mjpeg snapshot from go2rtc can't work with external network, so I decide to create an automation to get the snapshot each 3 mins and save to local file and use it as still image.

So what about disable the video player control, is it possible?

from webrtc.

kizovinh avatar kizovinh commented on June 14, 2024

IMG_8284
For example in this screen shot, while loading, I want to disable the big "play" button. Loading status on the top right corner is sufficient enough

from webrtc.

AlexxIT avatar AlexxIT commented on June 14, 2024

https://github.com/AlexxIT/WebRTC?tab=readme-ov-file#custom-card

from webrtc.

Related Issues (20)

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.