Remote desk client supports Linux platform

This commit is contained in:
dijunkun
2023-09-22 14:48:21 +08:00
parent 9355b670b8
commit aa198a4629
9 changed files with 76 additions and 15 deletions

View File

@@ -1,5 +1,7 @@
#include "frame.h"
#include <string.h>
#include <string>
VideoFrame::VideoFrame() {}

View File

@@ -1,6 +1,8 @@
#ifndef _VIDEO_DECODER_FACTORY_H_
#define _VIDEO_DECODER_FACTORY_H_
#include <memory>
#include "video_decoder.h"
class VideoDecoderFactory {
public:

View File

@@ -1,6 +1,8 @@
#ifndef _VIDEO_ENCODER_FACTORY_H_
#define _VIDEO_ENCODER_FACTORY_H_
#include <memory>
#include "video_encoder.h"
class VideoEncoderFactory {
public:

View File

@@ -6,12 +6,8 @@
#include <mutex>
#include "ice_transmission.h"
#ifdef _WIN32
#include "video_decoder_factory.h"
#include "video_encoder_factory.h"
#endif
#include "ws_transmission.h"
enum SignalStatus { Connecting = 0, Connected, Closed };

View File

@@ -1,7 +1,9 @@
#ifndef _RTP_PACKET_H_
#define _RTP_PACKET_H_
#include <stddef.h>
#include <stdint.h>
#include <string.h>
#include <vector>

View File

@@ -24,8 +24,8 @@ class ThreadBase {
private:
std::unique_ptr<std::thread> thread_ = nullptr;
std::atomic<bool> stop_ = false;
std::atomic<bool> pause_ = false;
std::atomic<bool> stop_{false};
std::atomic<bool> pause_{false};
};
#endif