-
Notifications
You must be signed in to change notification settings - Fork 0
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
Streaming issue #1
Comments
Hi @andyjhall Would you be able to share a screenshot of the "Recording" section of your Swann NVR/DVR? Thanks! |
In order for this specific plugin to work, the streams must be set to On a separate note, you may also experience some stuttering at high resolutions and bitrates (especially 4K @ 6kbps, but you may as well try it first). You might be able to play around with the settings, and find what is suitable for your network/setup, while still being an appropriately high quality (in case you actually need to use the stored footage from the NVR). Alternatively, if you can't compromise the high quality for smooth playback in HomeKit, you might be able to look at using the Hope some of this info was useful. Thanks! |
Ok I’ll give that a go! I did try the ffmpeg plugin but has the same issue
and assumed it was the Swann cameras being weird.
I have this running in docker, is there another port I would need to map
for the stream?
On Thu, May 14, 2020 at 18:22 SupImDos ***@***.***> wrote:
@andyjhall <https://github.com/andyjhall>
In order for this specific plugin to work, the streams must be set to h264
rather than h265 as per your mainstream screenshot (HomeKit only accepts
h264).
On a separate note, you may also experience some stuttering at high
resolutions and bitrates (especially 4K @ 6kbps, but you may as well try it
first).
You might be able to play around with the settings, and find what is
suitable for your network/setup, while still being an appropriately high
quality (in case you actually need to use the stored footage from the NVR).
Alternatively, if you can't compromise the high quality for smooth
playback in HomeKit, you might be able to look at using the
homebridge-camera-ffmpeg plugin to transcode your high quality stream,
but this would cost a *large* amount of cpu usage (which is the main
advantage of this plugin - directly copying the h264 stream instead of
transcoding it).
Hope some of this info was useful.
Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHRPCHTAB4NGTGDJCFALH3RRQSEFANCNFSM4NATW2EA>
.
--
Andrew Hall
andyjhall[at]gmail.com
|
I'm not 100% sure about much to do with a Docker setup, sorry. In terms of incoming traffic, the RTSP stream is on port 554. For outgoing traffic, the SRTP video and audio streams are on separate ports, but are chosen differently each time by HomeKit. As shown in your example log above:
The ports were 53772 and 51152 in that particular request. I'm sure it would be possible to find the range of ports it can select somewhere in the HAP specifications though. |
Ok tried changing the streams to match your screenshots and that doesnt work, also made the docker container host mode so it can use any port it likes. Seems like an issue with my setup rather than the plugin so Im going to close this and deal with it on my side. Thanks for your help! |
Describe Your Problem:
Streaming of a camera just shows the "loading" symbol forever, even though the homebridge logs suggest the stream is being sent. The tile in the home app is however updated every 10 seconds.
Logs:
Homebridge Config:
Environment:
onzu docker container
The text was updated successfully, but these errors were encountered: