1 Star 0 Fork 0

上海老李/NWayRtcDemo_ARM

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
nwayrtc.h 1.56 KB
一键复制 编辑 原始数据 按行查看 历史
上海老李 提交于 2022-10-17 08:34 . added arm linux rtc code
#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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/nwaycn/NWayRtcDemo_ARM.git
git@gitee.com:nwaycn/NWayRtcDemo_ARM.git
nwaycn
NWayRtcDemo_ARM
NWayRtcDemo_ARM
main

搜索帮助