-FrameAllocator *get_video_frame_allocator()
-{
- return video_frame_allocator;
-}
-
-void set_video_frame_allocator(FrameAllocator *allocator)
-{
- video_frame_allocator = allocator;
-}
-
-FrameAllocator *get_audio_frame_allocator()
-{
- return audio_frame_allocator;
-}
-
-void set_audio_frame_allocator(FrameAllocator *allocator)
-{
- audio_frame_allocator = allocator;
-}
-
-void set_frame_callback(frame_callback_t callback)
-{
- frame_callback = callback;
-}
-
-void start_bm_capture()