Core SDK Examples – Subscribe Metadata Messages
The Receiving metadata messages example shows how to receive metadata messages using the ICallbackHandler interface. It also shows how to implement a simple video data renderer and use it to set up a subscriber client.
The DataDumper class implements two different interfaces:
- The
ISingleRendererinterface is used in the methodAddStreamof the client object, while - The
ICallbackHandlerinterface allows subscribing for different callback messages from the client using the methodSetCallbackHandler.
This application is designed to be used together with the sending metadata example, and the stored frames should have the same file names as those embedded into frame data. The SaveEveryNthFrame parameter defines how often received frames will be saved.
See the Basic Integration example for project setup, and the simple subscribe example for the setup of the subscriber client.