pub struct Stream {Show 13 fields
pub url: Url,
pub user_id: String,
pub meeting_id: String,
pub video_device_index: Option<IndexKind>,
pub audio_device: Option<String>,
pub resolution: String,
pub fps: u32,
pub bitrate_kbps: u32,
pub vp9_cpu_used: u8,
pub frame_format: FrameFormat,
pub keylog: bool,
pub send_test_pattern: bool,
pub local_streaming_test: bool,
}Fields§
§url: UrlURL to connect to.
user_id: String§meeting_id: String§video_device_index: Option<IndexKind>Specify which camera to use, either by index number or name.
Examples: –video-device-index 0 # Use first camera –video-device-index “HD WebCam” # Use camera by name
If not provided, the program will list all available cameras. You can also see available cameras by running: videocall-daemon info –list-cameras
Note for MacOS users: You must use the device UUID instead of the human-readable name. The UUID can be found in the “Extras” field when listing cameras.
audio_device: Option<String>§resolution: StringResolution in WIDTHxHEIGHT format (e.g., 1920x1080)
fps: u32Frame rate for the video stream.
bitrate_kbps: u32§vp9_cpu_used: u8Controls the speed vs. quality tradeoff for VP9 encoding.
The value ranges from 0 (slowest, best quality) to 15 (fastest, lowest quality).
The cli does not allow selecting values below 4 because they are useless for realtime streaming.
§Valid Values:
4to8: Fast encoding, lower quality (good for real-time streaming, live video).9to15: Very fast encoding, lowest quality, largest files (for ultra-low-latency applications).
videocall-daemon –vp9-cpu-used 5 # Fast encoding, good for live streaming
frame_format: FrameFormatFrame format to use for the video stream.
Different cameras support different formats.
Please use the info subcommand to list supported formats for a specific camera.
keylog: boolPerform NSS-compatible TLS key logging to the file specified in SSLKEYLOGFILE.
send_test_pattern: boolSend test pattern instead of camera video.
local_streaming_test: boolThis is for ensuring that we can open the camera and encode video
Trait Implementations§
Source§impl Args for Stream
impl Args for Stream
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl FromArgMatches for Stream
impl FromArgMatches for Stream
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Auto Trait Implementations§
impl Freeze for Stream
impl RefUnwindSafe for Stream
impl Send for Stream
impl Sync for Stream
impl Unpin for Stream
impl UnwindSafe for Stream
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
self to a value of a Properties struct.Source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
self to a value of a Properties struct.