Skip to content
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

how to add raw data callback to camera in server code #65

Open
ahmadi219 opened this issue Sep 26, 2016 · 2 comments
Open

how to add raw data callback to camera in server code #65

ahmadi219 opened this issue Sep 26, 2016 · 2 comments

Comments

@ahmadi219
Copy link

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

@xsmart
Copy link
Member

xsmart commented Sep 27, 2016

i am sorry, you need write new class for get the encoded data and use VPlay to decode the frame.

@ahmadi219
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants