代码拉取完成,页面将自动刷新
#ifndef NWAYRTC_H
#define NWAYRTC_H
#include <cstdio>
#include <stdint.h>
#include "IRtcEngineEventHandler.h"
#include <list>
namespace nwayrtc {
class NWayRtc
{
public:
//SipEngineManager *getSipEngineManager();
//QVariantList getRecordingDeviceList();
//QVariantList getPlayoutDeviceList();
//QVariantList getVideoDeviceList();
virtual int setRecordingDevice(const char* guid) = 0;
virtual int setPlayoutDevice(const char* guid) = 0;
virtual int setVideoDevice(const char* guid) = 0;
virtual int registerAccount(const char* serverIp, const char* username,
const char* password, const char* displayname) = 0;
virtual int call(const char* calleeUri) = 0;
virtual void callForward(std::list<const char*> callForwardUsers, const char* localDisplayName,
bool isVideo, bool hwAcceleration, int width,
int height, int fps, int bitrate, const char* deviceType) = 0;
virtual int earlyAnswer(int callId) = 0;
virtual int answer(int callId) = 0;
virtual int hangup(int callId) = 0;
//virtual void setupLocalVideo(int callId, VideoSink* videoSink) = 0;
//virtual void setupRemoteVideo(int callId, VideoSink* videoSink) = 0;
virtual void setNWayRtcEvent(IRtcEngineEventHandler* iRtcEngineEventHandler) = 0;
virtual void flowStream() = 0;
virtual void sendVideoPacket(const uint8_t* packet, int len, uint8_t payloadType, uint32_t timeStamp) = 0;
public:
static NWayRtc* createNWayRtcEngine();
};
} //end of nwayrtc namespace
#endif // NWAYRTC_H
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。