diff --git a/client/scenes/stream_actions.cpp b/client/scenes/stream_actions.cpp index d0dd742b..a7eada28 100644 --- a/client/scenes/stream_actions.cpp +++ b/client/scenes/stream_actions.cpp @@ -70,23 +70,20 @@ void scenes::stream::read_actions() void scenes::stream::operator()(to_headset::haptics && haptics) { XrAction action; - XrPath subpath; if (haptics.id == device_id::LEFT_CONTROLLER_HAPTIC) { action = haptics_actions[0].first; - subpath = haptics_actions[0].second; } else if (haptics.id == device_id::RIGHT_CONTROLLER_HAPTIC) { action = haptics_actions[1].first; - subpath = haptics_actions[1].second; } else return; if (haptics.amplitude > 0) - application::haptic_start(action, subpath, haptics.duration.count(), haptics.frequency, haptics.amplitude); + application::haptic_start(action, XR_NULL_PATH, haptics.duration.count(), haptics.frequency, haptics.amplitude); else - application::haptic_stop(action, subpath); + application::haptic_stop(action, XR_NULL_PATH); } diff --git a/server/driver/encoder_settings.cpp b/server/driver/encoder_settings.cpp index d310b569..f995085c 100644 --- a/server/driver/encoder_settings.cpp +++ b/server/driver/encoder_settings.cpp @@ -34,7 +34,7 @@ using namespace xrt::drivers::wivrn; // TODO: size independent bitrate -static const uint64_t default_bitrate = 10'000'000; +static const uint64_t default_bitrate = 50'000'000; static bool is_nvidia(vk_bundle * vk) {