1 Star 0 Fork 2

skyleecorp/obs-rtspserver

forked from scottxu/obs-rtspserver 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
rtsp_properties.h 1.64 KB
一键复制 编辑 原始数据 按行查看 历史
#ifndef RTSP_PROPERTIES_H
#define RTSP_PROPERTIES_H
#include <QDialog>
#include <obs-module.h>
#include <obs-frontend-api.h>
#include "rtsp_output_helper.h"
namespace Ui {
class RtspProperties;
}
class RtspProperties : public QDialog {
Q_OBJECT
public:
explicit RtspProperties(std::string rtspOutputName, QWidget *parent = 0);
~RtspProperties();
public Q_SLOTS:
virtual int exec();
private Q_SLOTS:
void onPushButtonStartClicked();
void onPushButtonStopClicked();
void onPushButtonAddressCopyClicked();
void onSpinBoxPortValueChanged(int value);
void onLineEditUrlSuffixValueChanged(const QString value);
void onCheckBoxEnableAuthenticationClicked(bool checked);
void onLineEditRealmTextChanged(const QString value);
void onLineEditUsernameTextChanged(const QString value);
void onLineEditPasswordTextChanged(const QString value);
void onStatusTimerTimeout();
void onButtonStatusChanging(bool outputStarted, bool outputStopped);
void onStatusTimerStatusChanging(bool start);
void onLabelMessageStatusChanging(bool showError);
Q_SIGNALS:
void setButtonStatus(bool outputStarted, bool outputStopped);
void setStatusTimerStatus(bool start);
void setLabelMessageStatus(bool showError);
private:
Ui::RtspProperties *ui;
QTimer *statusTimer;
signal_handler_t *signalHandler;
RtspOutputHelper *rtspOutputHelper;
uint64_t lastTotalBytes;
obs_data_t *settings;
void showEvent(QShowEvent *event);
void closeEvent(QCloseEvent *event);
static void OnOutputStart(void *data, calldata_t *cd);
static void OnOutputStop(void *data, calldata_t *cd);
void LoadConfig(config_t *config);
void SaveConfig(config_t *config);
};
#endif // RTSP_PROPERTIES_H
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/skyleecorp/obs-rtspserver.git
git@gitee.com:skyleecorp/obs-rtspserver.git
skyleecorp
obs-rtspserver
obs-rtspserver
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385