[package] name = "agent" version = "0.1.0" edition = "2021" [dependencies] common = { path = "../common" } anyhow.workspace = true tokio.workspace = true quinn.workspace = true rustls.workspace = true rcgen.workspace = true lz4_flex.workspace = true openh264 = { version = "0.9.9", features = ["source"] } # 上游 nvenc 0.1.0 的 encode_picture 只设 picture_type=IDR、不置 FORCEIDR 标志, # 导致运行期 KeyFrameReq 被编码器静默忽略(实测输出 NAL type=1 而非 5)。 # vendor 版本补上了该标志,见 vendor/nvenc/src/safe/encoder.rs 的「本项目补丁」注释。 nvenc = { path = "../vendor/nvenc" } windows = { workspace = true, features = [ "Win32_Foundation", "Win32_Graphics_Direct3D", "Win32_Graphics_Direct3D11", "Win32_Graphics_Dxgi", "Win32_Graphics_Dxgi_Common", "Win32_UI_Input_KeyboardAndMouse", "Win32_UI_WindowsAndMessaging", ] }