Use same packet definitions for both sockets
This commit is contained in:
committed by
Guillaume Meunier
parent
1792607ada
commit
94e60d4e8b
@@ -18,16 +18,11 @@
|
||||
*/
|
||||
|
||||
#include "lobby.h"
|
||||
#include "glm/glm.hpp"
|
||||
#include "render/text_rasterizer.h"
|
||||
#include "stream.h"
|
||||
#include "utils/ranges.h"
|
||||
#include "utils/strings.h"
|
||||
#include "vk/vk.h"
|
||||
|
||||
#include <cstdint>
|
||||
#include <glm/gtc/quaternion.hpp>
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <tiny_gltf.h>
|
||||
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
#include "vk/buffer.h"
|
||||
#include "vk/image.h"
|
||||
#include "vk/renderpass.h"
|
||||
#include "wivrn_client.h"
|
||||
#include "wivrn_discover.h"
|
||||
#include <tiny_gltf.h>
|
||||
|
||||
|
||||
@@ -23,13 +23,8 @@
|
||||
#include "scene.h"
|
||||
#include "stream_reprojection.h"
|
||||
#include "utils/sync_queue.h"
|
||||
#include "vk/device_memory.h"
|
||||
#include "vk/renderpass.h"
|
||||
#include "wivrn_client.h"
|
||||
#include "wivrn_packets.h"
|
||||
#include <condition_variable>
|
||||
#include <deque>
|
||||
#include <functional>
|
||||
#include <mutex>
|
||||
#include <thread>
|
||||
#include <vulkan/vulkan_core.h>
|
||||
|
||||
@@ -27,8 +27,8 @@ using namespace xrt::drivers::wivrn;
|
||||
|
||||
class wivrn_session
|
||||
{
|
||||
typed_socket<TCP, to_headset::control_packets, from_headset::control_packets> control;
|
||||
typed_socket<UDP, to_headset::stream_packets, from_headset::stream_packets> stream;
|
||||
typed_socket<TCP, to_headset::packets, from_headset::packets> control;
|
||||
typed_socket<UDP, to_headset::packets, from_headset::packets> stream;
|
||||
|
||||
void handshake();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user