mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 16:55:37 +02:00
## Description Works in apptainer now.. podman is still the goat since apptainer needs docker treatment and even more.. - Added container detection so podman can be used to it's fullest, the non-sane ones are handled separately.. - Added video bit-depth option, cuz AV1 and 10-bit encoding go well together. - Some other package updates to nestri-server. - General tidying up of scripts to make multi-container-engine handling less of a pain. - Updated old wireplumber lua script to new json format. Further changes: - Removed unused debug arg from nestri-server. - Moved configs to config file folder rather than keeping them in containerfile. - Improved audio configs, moved some into wireplumber to keep things tidy. - Bit better arg handling in nestri-server. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Optional 10‑bit video support and auto‑launch of an app after display setup. * **Changes** * Standardized runtime/user env to NESTRI_* with updated home/cache paths and explicit LANG; password generation now logged. * Improved container/GPU detection and startup logging; reduced blanket root usage during startup; SSH setup surfaced. * WirePlumber/PipeWire moved to JSON configs; low‑latency clock and loopback audio policies added; audio capture defaults to PipeWire. * **Chores** * GStreamer/libp2p dependency upgrades and Rust toolchain pinned; NVIDIA driver capability exposed. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: DatCaptainHorse <DatCaptainHorse@users.noreply.github.com>
140 lines
4.6 KiB
Rust
140 lines
4.6 KiB
Rust
// @generated
|
|
// This file is @generated by prost-build.
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct ProtoTimestampEntry {
|
|
#[prost(string, tag = "1")]
|
|
pub stage: ::prost::alloc::string::String,
|
|
#[prost(message, optional, tag = "2")]
|
|
pub time: ::core::option::Option<::prost_types::Timestamp>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct ProtoLatencyTracker {
|
|
#[prost(string, tag = "1")]
|
|
pub sequence_id: ::prost::alloc::string::String,
|
|
#[prost(message, repeated, tag = "2")]
|
|
pub timestamps: ::prost::alloc::vec::Vec<ProtoTimestampEntry>,
|
|
}
|
|
/// MouseMove message
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct ProtoMouseMove {
|
|
/// Fixed value "MouseMove"
|
|
#[prost(string, tag = "1")]
|
|
pub r#type: ::prost::alloc::string::String,
|
|
#[prost(int32, tag = "2")]
|
|
pub x: i32,
|
|
#[prost(int32, tag = "3")]
|
|
pub y: i32,
|
|
}
|
|
/// MouseMoveAbs message
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct ProtoMouseMoveAbs {
|
|
/// Fixed value "MouseMoveAbs"
|
|
#[prost(string, tag = "1")]
|
|
pub r#type: ::prost::alloc::string::String,
|
|
#[prost(int32, tag = "2")]
|
|
pub x: i32,
|
|
#[prost(int32, tag = "3")]
|
|
pub y: i32,
|
|
}
|
|
/// MouseWheel message
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct ProtoMouseWheel {
|
|
/// Fixed value "MouseWheel"
|
|
#[prost(string, tag = "1")]
|
|
pub r#type: ::prost::alloc::string::String,
|
|
#[prost(int32, tag = "2")]
|
|
pub x: i32,
|
|
#[prost(int32, tag = "3")]
|
|
pub y: i32,
|
|
}
|
|
/// MouseKeyDown message
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct ProtoMouseKeyDown {
|
|
/// Fixed value "MouseKeyDown"
|
|
#[prost(string, tag = "1")]
|
|
pub r#type: ::prost::alloc::string::String,
|
|
#[prost(int32, tag = "2")]
|
|
pub key: i32,
|
|
}
|
|
/// MouseKeyUp message
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct ProtoMouseKeyUp {
|
|
/// Fixed value "MouseKeyUp"
|
|
#[prost(string, tag = "1")]
|
|
pub r#type: ::prost::alloc::string::String,
|
|
#[prost(int32, tag = "2")]
|
|
pub key: i32,
|
|
}
|
|
/// KeyDown message
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct ProtoKeyDown {
|
|
/// Fixed value "KeyDown"
|
|
#[prost(string, tag = "1")]
|
|
pub r#type: ::prost::alloc::string::String,
|
|
#[prost(int32, tag = "2")]
|
|
pub key: i32,
|
|
}
|
|
/// KeyUp message
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct ProtoKeyUp {
|
|
/// Fixed value "KeyUp"
|
|
#[prost(string, tag = "1")]
|
|
pub r#type: ::prost::alloc::string::String,
|
|
#[prost(int32, tag = "2")]
|
|
pub key: i32,
|
|
}
|
|
/// Union of all Input types
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct ProtoInput {
|
|
#[prost(oneof = "proto_input::InputType", tags = "1, 2, 3, 4, 5, 6, 7")]
|
|
pub input_type: ::core::option::Option<proto_input::InputType>,
|
|
}
|
|
/// Nested message and enum types in `ProtoInput`.
|
|
pub mod proto_input {
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Oneof)]
|
|
pub enum InputType {
|
|
#[prost(message, tag = "1")]
|
|
MouseMove(super::ProtoMouseMove),
|
|
#[prost(message, tag = "2")]
|
|
MouseMoveAbs(super::ProtoMouseMoveAbs),
|
|
#[prost(message, tag = "3")]
|
|
MouseWheel(super::ProtoMouseWheel),
|
|
#[prost(message, tag = "4")]
|
|
MouseKeyDown(super::ProtoMouseKeyDown),
|
|
#[prost(message, tag = "5")]
|
|
MouseKeyUp(super::ProtoMouseKeyUp),
|
|
#[prost(message, tag = "6")]
|
|
KeyDown(super::ProtoKeyDown),
|
|
#[prost(message, tag = "7")]
|
|
KeyUp(super::ProtoKeyUp),
|
|
}
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct ProtoMessageBase {
|
|
#[prost(string, tag = "1")]
|
|
pub payload_type: ::prost::alloc::string::String,
|
|
#[prost(message, optional, tag = "2")]
|
|
pub latency: ::core::option::Option<ProtoLatencyTracker>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct ProtoMessageInput {
|
|
#[prost(message, optional, tag = "1")]
|
|
pub message_base: ::core::option::Option<ProtoMessageBase>,
|
|
#[prost(message, optional, tag = "2")]
|
|
pub data: ::core::option::Option<ProtoInput>,
|
|
}
|
|
// @@protoc_insertion_point(module)
|