mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 20:25:34 +08:00
Remote desk client supports Linux platform
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#include "frame.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <string>
|
||||
|
||||
VideoFrame::VideoFrame() {}
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#ifndef _VIDEO_DECODER_FACTORY_H_
|
||||
#define _VIDEO_DECODER_FACTORY_H_
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "video_decoder.h"
|
||||
class VideoDecoderFactory {
|
||||
public:
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#ifndef _VIDEO_ENCODER_FACTORY_H_
|
||||
#define _VIDEO_ENCODER_FACTORY_H_
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "video_encoder.h"
|
||||
class VideoEncoderFactory {
|
||||
public:
|
||||
|
||||
@@ -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 };
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
#ifndef _RTP_PACKET_H_
|
||||
#define _RTP_PACKET_H_
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user