I’m a able to create a custom driver to do a live stream for my device in Smart Client, but doing playback in Smart Client shows only key frames and the rest are black frames. I set my device to send key frames at 50 key frame interval. How should I forward the non-key frames to Milestone?
Hi Orlando, if you look at this question you may find your answer: https://developer.milestonesys.com/s/question/0D53X000078pIMcSAM/im-using-driver-framework-to-create-a-custom-driver-how-should-i-forward-an-h264-over-rtsp-video-stream-to-the-vms
If this does not resolve your problem, please let us know.
Best Regards
Hi Simon, we were able to resolve the issue. Upon debugging, GetLiveFrameInternal somehow reads data with length of 36, which we can’t figure out why as of now. So within this method, we added the condition that if length is 36, then we return false. In that way, it will not proceed to the rest of the code where it generate the VideoHeader and send to Milestone.
Thanks for the reply.