rapidvms
rapidvms copied to clipboard
how to add raw data callback to camera in server code
Hello I want to use RegRawDatacallback in server. there are both of RegDataCallback & RegSubDataCallback but not RegRawDatacallback . according your codes for two above exited callbacks, I add codes for RegRawDatacallback . but I do not know how to implement Camera::RawDataHandler1(RawFrame& frame) . Please help me to complete this method. Thanks
i am sorry, you need write new class for get the encoded data and use VPlay to decode the frame.
Can I get decoded frame in Cameraimpl.hpp in method Camera::DataHandler1(VideoFrame& frame) ? If I want to show decoded frame in this method, Can I convert parameter (VideoFrame& frame) to cv::mat to see frame in window ? thanks for your attention