MacOS insanity
Greetings @freeshineit ,
I am building a native Swift macOS application for Hikvision cloud devices. Live view is working: the app receives the cloud stream through a local relay, converts it to a local RTSP stream, and plays it with VLCKit. I have also implemented the stream decryption needed before passing the video to the player. This is the least latency way i found so far. It also helps that M4 is power full enough to decode over 100 substreams / first frame time for all 100 is sub 2 seconds.
Cloud archive playback is still unreliable. In a roughly 10-second segment, about 2 seconds appear as grey or glitched frames. The stream plays for part of the segment, so I may be mishandling part of the archive media path, such as demuxing/muxing, timestamps, packet boundaries, or archive-specific decoding.
I would like to keep playback native and avoid a WebView/JavaScript player. Could you advise:
- Is there an official native macOS/iOS SDK or Apple Silicon arm64 library that supports Hikvision cloud archive playback?
- If not, is there documentation or a sample for the cloud archive playback pipeline EZUIKit uses, especially its media parsing and decoding steps?
- For archive video returned as MPEG-PS with HEVC, what are the required demuxing, timestamp, parameter-set, and RTP/RTSP handling rules?
- Are there archive-specific encryption or decryption steps or metadata that differ from live view?
- Does the EZUIKit JavaScript npm package expose a supported playback API that can be used without embedding its player in a WebView?
I can provide sanitized logs and a short sample showing the grey-frame problem if useful. Please let me know which diagnostics would help. I will not include credentials, tokens, relay keys, or private device details in a public issue.
ps: im sorry this is off topic, but i see you know what you do, and github does not have any DM and i dont have any other contact of you
Thanks.
The macOS SDK has stopped updating. If you have any needs, please contact customer service offline. [email protected]
Thanks, i managed to solve it. Ill prepare macOS SDK arm64. SystemTransform lib helped from this repo. I was very close with my own implementation. finally matched correct NAL's