Open atv2016 opened 1 year ago
Have you tried this urls in some desktop app? Ex. VLC
Yes, works fine in VLC
Are you using WebRTC Card v3?
I am using webrtc v3 v4. The card is not really into play here, I don’t think I can use that to cast from an automation to chromecast?
I use webrtc dashcast or the camera integration.
From: Alex X @.> Sent: 16 January 2023 13:02 To: AlexxIT/WebRTC @.> Cc: atv2016 @.>; Author @.> Subject: Re: [AlexxIT/WebRTC] Unable to chrome cast gen1 from HA without significant (30s) lag (Issue #381)
Are you using WebRTC Card v3?
— Reply to this email directly, view it on GitHubhttps://github.com/AlexxIT/WebRTC/issues/381#issuecomment-1384023429, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEBCFU3CUJUDINGJHRDOZHDWSVBGNANCNFSM6AAAAAAT4QQZGQ. You are receiving this because you authored the thread.Message ID: @.***>
If you using webrtc.dash_cast
service - you using WebRTC Card on your Chromecast device.
Try to use a direct RTSP link to the camera. Without using Frigate restream.
PS. Maybe you have high bitrate stream? Because Chromecast gen1 has very low hardware. Try to stream second stream from your camera if you has it.
I think i tried that, but i'll try again.
From: Alex X @.> Sent: 16 January 2023 14:32 To: AlexxIT/WebRTC @.> Cc: atv2016 @.>; Author @.> Subject: Re: [AlexxIT/WebRTC] Unable to chrome cast gen1 from HA without significant (30s) lag (Issue #381)
If you using webrtc.dash_cast service - you using WebRTC Card on your Chromecast device. Try to use a direct RTSP link to the camera. Without using Frigate restream.
— Reply to this email directly, view it on GitHubhttps://github.com/AlexxIT/WebRTC/issues/381#issuecomment-1384152809, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEBCFU67F5UTAPMVY22ZZFLWSVLYVANCNFSM6AAAAAAT4QQZGQ. You are receiving this because you authored the thread.Message ID: @.***>
Good point about the bit stream, i'll try and use the sub stream to cast.
So, i bought a chromecast HD, just to rule out any issues. For camera.stream, although it's now only 15seconds, rather then 30 seconds, it's still not nowhere realtime or 1-2 secs of lag. For WebRTC, it just hangs when i tries to load a RTSP url.I tried all codecs on the CCTV and all possible options i can think off on HA.
I don't really understand this. I'm going to check if my RTSP streams in XMeye (camera viewing tool) and frigate are realtime or if they are also lagging.
@AlexxIT Update: Yup streams in XMeye are realtime, no problem. But i stream regular RTSP stream from HA using dash cast, it just sits there and hangs. I think there might be an issue with current Webrtc dash cast ? I believe it used to work ok in the older version.
Well you can compare with any old version at any time
But how come old webrtc at least casted the rtsp streams, and the new one just sits there. The stream is fine in frigate or VLC. It’s the latest chromecast HD.
So it doesn’t look like the rtsp functionality is working in dashcast?
From: Alex X @.> Sent: 20 January 2023 15:36 To: AlexxIT/WebRTC @.> Cc: atv2016 @.>; Author @.> Subject: Re: [AlexxIT/WebRTC] Unable to chrome cast gen1 from HA without significant (30s) lag (Issue #381)
Well you can compare with any old version at any time
— Reply to this email directly, view it on GitHubhttps://github.com/AlexxIT/WebRTC/issues/381#issuecomment-1398570356, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEBCFU4XBKFZFIFCPAL5ZL3WTKWIJANCNFSM6AAAAAAT4QQZGQ. You are receiving this because you authored the thread.Message ID: @.***>
I have tested many RTSP cameras with Chromecast. All of them has 0.5 second delay.
Yes but that’s not the problem. The problem is webrtc is not showing the stream at all.I would be happy with just 0.5 delay.
From: Alex X @.> Sent: 21 January 2023 02:47 To: AlexxIT/WebRTC @.> Cc: atv2016 @.>; Author @.> Subject: Re: [AlexxIT/WebRTC] Unable to chrome cast gen1 from HA without significant (30s) lag (Issue #381)
I have tested many RTSP cameras with Chromecast. All of them has 0.5 second delay.
— Reply to this email directly, view it on GitHubhttps://github.com/AlexxIT/WebRTC/issues/381#issuecomment-1399158121, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEBCFU4GWATXG2DBF42BOOLWTNE5PANCNFSM6AAAAAAT4QQZGQ. You are receiving this because you authored the thread.Message ID: @.***>
I don't understand you. You said you have stream but 30 seconds delay
Sorry, yes but that was with camera entities from frigate or generic ones. With newer chromecast it’s actually about 15s delay.
But If I cast a full rtsp stream it just sits there. That’s what I meant. It doesn’t load at all. I tried enabling audio on cctv side or changing quality in the hopes of the codec changing but no go. It works fine in frigate or VLC. But I can ask VLC what codec it runs when it streams.
Thanks for your help.
From: Alex X @.> Sent: 21 January 2023 14:11 To: AlexxIT/WebRTC @.> Cc: atv2016 @.>; Author @.> Subject: Re: [AlexxIT/WebRTC] Unable to chrome cast gen1 from HA without significant (30s) lag (Issue #381)
I don't understand you. You said you have stream but 30 seconds delay
— Reply to this email directly, view it on GitHubhttps://github.com/AlexxIT/WebRTC/issues/381#issuecomment-1399259003, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEBCFU5UCFKL63GEEHCIFVTWTPVBJANCNFSM6AAAAAAT4QQZGQ. You are receiving this because you authored the thread.Message ID: @.***>
I don't understand your again. Does any camera from any source work for you on Chromecast?
Yes like I said, camera entities created from frigate or from generic entities created, work fine if I choose the camera entity option rather then the rtsp option.
It’s just when I use the rtsp option in webcast that it doesn’t work.
From: Alex X @.> Sent: 21 January 2023 15:41 To: AlexxIT/WebRTC @.> Cc: atv2016 @.>; Author @.> Subject: Re: [AlexxIT/WebRTC] Unable to chrome cast gen1 from HA without significant (30s) lag (Issue #381)
I don't understand your again. Does any camera from any source work for you on Chromecast?
— Reply to this email directly, view it on GitHubhttps://github.com/AlexxIT/WebRTC/issues/381#issuecomment-1399275207, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEBCFU6IT3HS56WXSX2BYFTWTP7T3ANCNFSM6AAAAAAT4QQZGQ. You are receiving this because you authored the thread.Message ID: @.***>
Well. What about delay on Chromecast for working cameras/entities? It should be 0.5 second. It can't be 15-30 second.
Well ..it’s not :-). What can I say. I heard this was normal for camera entities as they use HA/Hls but I don’t know.
If you have a way of resolving that I’m all ears.
From: Alex X @.> Sent: 21 January 2023 18:59 To: AlexxIT/WebRTC @.> Cc: atv2016 @.>; Author @.> Subject: Re: [AlexxIT/WebRTC] Unable to chrome cast gen1 from HA without significant (30s) lag (Issue #381)
Well. What about delay on Chromecast for working cameras/entities? It should be 0.5 second. It can't be 15-30 second.
— Reply to this email directly, view it on GitHubhttps://github.com/AlexxIT/WebRTC/issues/381#issuecomment-1399312096, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEBCFUY76EE2WADLJLETYADWTQW23ANCNFSM6AAAAAAT4QQZGQ. You are receiving this because you authored the thread.Message ID: @.***>
Show how to you run Chromecast from HA
I’ll post some screenshots how I use it
From: Alex X @.> Sent: 22 January 2023 04:42 To: AlexxIT/WebRTC @.> Cc: atv2016 @.>; Author @.> Subject: Re: [AlexxIT/WebRTC] Unable to chrome cast gen1 from HA without significant (30s) lag (Issue #381)
Show how to you run Chromecast from HA
— Reply to this email directly, view it on GitHubhttps://github.com/AlexxIT/WebRTC/issues/381#issuecomment-1399403713, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEBCFU2C2JPH62YLW4253U3WTS3EXANCNFSM6AAAAAAT4QQZGQ. You are receiving this because you authored the thread.Message ID: @.***>
I just checked the codec of my cctv in VLC, it's using H264 - Mpeg4 (part 10) AVC. So it should be fine.
H264 means nothing. Because it can be with different profile and different levels. What about "Show how to you run Chromecast from HA"?
I will add a screenshot of how webrtc is just hanging there, it opens it then it shows a black screen with a bar at the bottom but no video. I tried restream RTSP urls, real RTSP, entities, generic entities etc.
I tried webrtc dash cast, with RTSP urls, restreamed url's from frigate, camera entity with RTSP, camera entities with restream RTSP, if it does show it's with a 30second lag.
Is there any documented way of using webrtc from HA to chromecast where there is nog lag ?