Skip to content

Video stats overlay shows no resolution for H.265 RTSP cameras #2969

Description

@rafaellehmkuhl

parseResolutionFromSdp (src/electron/services/go2rtc.ts:212) matches sprop-parameter-sets=, which is the H.264 form. An H.265 producer's SDP carries sprop-vps/sprop-sps/sprop-pps instead, so the regex never matches and parseH264SpsResolution is never reached.

The result is that Go2RTCStreamInfo.width/height come back undefined and the "Size" row of the stats-for-nerds overlay (src/components/VideoPlayerStatsForNerds.vue:141) renders ... indefinitely for those cameras.

This has always been the case, but is only becoming reachable now with the H.265 support (#2967). Fix would be parsing the H.265 SPS out of sprop-sps for HEVC producers.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

uiUI related issuesvideo

Type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions