1 Star 0 Fork 1

Devin / XPlay3

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
XPushStream.h 537 Bytes
一键复制 编辑 原始数据 按行查看 历史
伊兴龙 提交于 2022-09-14 16:29 . 增加了推流
#ifndef XPUSHSTREAM_H
#define XPUSHSTREAM_H
#include <QObject>
#include <QMutex>
#include "Xffmepg.h"
class XPushStream : public QObject
{
Q_OBJECT
public:
explicit XPushStream(QObject *parent = nullptr);
bool Init(QString _qstrOutStreamUrl, QString _qstrPushType, AVFormatContext* _InCtx);
int PushStream(AVPacket *_pPushAVPacket);
void Clear();
signals:
private:
QMutex m_qmutPushStream;
AVFormatContext *m_InFmtCtx = nullptr;
AVFormatContext *m_OutFmtCtx = nullptr;
};
#endif // XPUSHSTREAM_H
1
https://gitee.com/yixinglong/xplay3.git
git@gitee.com:yixinglong/xplay3.git
yixinglong
xplay3
XPlay3
master

搜索帮助