Access Raw Data - No functional event

Description
I have tried to access the raw data using the tutorial, but nothing happens when the render is created

Which Windows Meeting SDK version?
zoom-sdk-windows-5.13.5.12103

To Reproduce(If applicable)

  1. Do steps 1 to 2 from the tutorial
  2. For the 3rt step I call a pointer object in CustomizedUIRecordMgr.h
#pragma  once

#include "stdafx.h"
#include "sdk_util.h"
#include <rawdata/rawdata_renderer_interface.h>


class CustomizedUIRecordMgr : 
	public ZOOM_SDK_NAMESPACE::IMeetingRecordingCtrlEvent
{

public:
	static CustomizedUIRecordMgr* GetInstance();
	void GetRecordController();
	bool StartRecording(time_t& startTimestamp);
	bool StopRecording(time_t& stopTimestamp);
	bool StartCloudRecording();
	bool StopCloudRecording();

	bool StartRawRecording();
	bool StopRawRecording();

	bool CanTheUserStartLocalRecording(unsigned int userid);
	bool CanTheUserStartCloudRecording(unsigned int userid);
	bool CanIStartLocalRecording();
	bool CanIStartCloudRecording();
	bool CanIChangeOthersRecordingPermission();
	bool DoesTheUserSupportLocalRecording(unsigned int userid);

	bool AllowLocalRecording(unsigned int userid);
	bool DisAllowLocalRecording(unsigned int userid);
	
	virtual void onRecording2MP4Done(bool bsuccess, int iResult, const wchar_t* szPath);
	virtual void onRecording2MP4Processing(int iPercentage);
	virtual void onRecordingStatus(ZOOM_SDK_NAMESPACE::RecordingStatus status);
	virtual void onCloudRecordingStatus(ZOOM_SDK_NAMESPACE::RecordingStatus status);
	virtual void onRecordPriviligeChanged(bool bCanRec);
	virtual void onCustomizedLocalRecordingSourceNotification(ZOOM_SDK_NAMESPACE::ICustomizedLocalRecordingLayoutHelper* layout_helper);
	virtual void onLocalRecordingPrivilegeRequestStatus(ZOOM_SDK_NAMESPACE::RequestLocalRecordingStatus status) {}
	virtual void onLocalRecordingPrivilegeRequested(ZOOM_SDK_NAMESPACE::IRequestLocalRecordingPrivilegeHandler* handler) {}
private:
	CustomizedUIRecordMgr();
	~CustomizedUIRecordMgr();

private:
	static CustomizedUIRecordMgr* s_recordMgrObj;
	time_t m_rcdStartTime; 
	ZOOM_SDK_NAMESPACE::IMeetingRecordingController* m_pRecordController;
	ZOOM_SDK_NAMESPACE::IZoomSDKRenderer* m_pRawRenderController;
	ZOOM_SDK_NAMESPACE::IZoomSDKRendererDelegate* m_pRawDataRenderer;
};
  1. Implement a new method in CustomizedUIRecordMgr.cpp
bool CustomizedUIRecordMgr::StartRawRecording()
{
	GetRecordController();

	if (!m_pRecordController){
		return false;
	}

	ZOOM_SDK_NAMESPACE::SDKError rtn;
	rtn = m_pRecordController->StartRawRecording();
	if (rtn == ZOOM_SDK_NAMESPACE::SDKERR_SUCCESS){
		::MessageBox(NULL, _T("Taking raw video sucess"), _T("winsdk demo"), MB_OK);
		ZOOM_SDK_NAMESPACE::createRenderer(&m_pRawRenderController, m_pRawDataRenderer);
		//m_pRawDataRenderer->
		return true;
	}else {
		return false;
	}
}
  1. When pass in sucess, the event “onRawDataFrameReceived” is not triggered

Screenshots

image

Troubleshooting Routes

Device (please complete the following information):

  • Device: Hp Probook 440GB
  • OS: . Windows 10 Pro

Additional context
Each user have to subcribe to any event to acess to raw data?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.