webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Functions
webrtc::flags Namespace Reference

Functions

 DEFINE_int32 (payload_type, 0, "Payload type")
 
 DEFINE_uint64 (ssrc, 0, "Incoming SSRC")
 
 DEFINE_int32 (red_payload_type, -1, "RED payload type")
 
 DEFINE_int32 (fec_payload_type, -1, "ULPFEC payload type")
 
 DEFINE_int32 (abs_send_time_id, -1, "RTP extension ID for abs-send-time")
 
 DEFINE_int32 (transmission_offset_id, -1, "RTP extension ID for transmission-offset")
 
bool ValidateInputFilenameNotEmpty (const char *flagname, const std::string &string)
 
 DEFINE_string (input_file, "", "input file")
 
 DEFINE_string (out_base, "", "Basename (excluding .yuv) for raw output")
 
 DEFINE_string (decoder_bitstream_filename, "", "Decoder bitstream output file")
 
 DEFINE_string (codec, "VP8", "Video codec")
 
 DEFINE_int32 (width, 1850, "Video width (crops source).")
 
size_t Width ()
 
 DEFINE_int32 (height, 1110, "Video height (crops source).")
 
size_t Height ()
 
 DEFINE_int32 (fps, 5, "Frames per second.")
 
int Fps ()
 
 DEFINE_int32 (min_bitrate, 50, "Call and stream min bitrate in kbps.")
 
int MinBitrateKbps ()
 
 DEFINE_int32 (start_bitrate, Call::Config::kDefaultStartBitrateBps/1000, "Call start bitrate in kbps.")
 
int StartBitrateKbps ()
 
 DEFINE_int32 (target_bitrate, 200, "Stream target bitrate in kbps.")
 
int TargetBitrateKbps ()
 
 DEFINE_int32 (max_bitrate, 2000, "Call and stream max bitrate in kbps.")
 
int MaxBitrateKbps ()
 
 DEFINE_int32 (num_temporal_layers, 2, "Number of temporal layers to use.")
 
int NumTemporalLayers ()
 
 DEFINE_string (codec, "VP8", "Video codec to use.")
 
 DEFINE_int32 (selected_tl, -1, "Temporal layer to show or analyze. -1 to disable filtering.")
 
int SelectedTL ()
 
 DEFINE_int32 (duration, 0, "Duration of the test in seconds. If 0, rendered will be shown instead.")
 
int DurationSecs ()
 
 DEFINE_string (output_filename, "", "Target graph data filename.")
 
std::string OutputFilename ()
 
 DEFINE_string (graph_title, "", "If empty, title will be generated automatically.")
 
std::string GraphTitle ()
 
 DEFINE_int32 (loss_percent, 0, "Percentage of packets randomly lost.")
 
int LossPercent ()
 
 DEFINE_int32 (link_capacity, 0, "Capacity (kbps) of the fake link. 0 means infinite.")
 
int LinkCapacityKbps ()
 
 DEFINE_int32 (queue_size, 0, "Size of the bottleneck link queue in packets.")
 
int QueueSize ()
 
 DEFINE_int32 (avg_propagation_delay_ms, 0, "Average link propagation delay in ms.")
 
int AvgPropagationDelayMs ()
 
 DEFINE_int32 (std_propagation_delay_ms, 0, "Link propagation delay standard deviation in ms.")
 
int StdPropagationDelayMs ()
 
 DEFINE_int32 (selected_stream, 0, "ID of the stream to show or analyze.")
 
int SelectedStream ()
 
 DEFINE_int32 (num_spatial_layers, 1, "Number of spatial layers to use.")
 
int NumSpatialLayers ()
 
 DEFINE_int32 (selected_sl, -1, "Spatial layer to show or analyze. -1 to disable filtering.")
 
int SelectedSL ()
 
 DEFINE_string (stream0, "", "Comma separated values describing VideoStream for stream #0.")
 
std::string Stream0 ()
 
 DEFINE_string (stream1, "", "Comma separated values describing VideoStream for stream #1.")
 
std::string Stream1 ()
 
 DEFINE_string (sl0, "", "Comma separated values describing SpatialLayer for layer #0.")
 
std::string SL0 ()
 
 DEFINE_string (sl1, "", "Comma separated values describing SpatialLayer for layer #1.")
 
std::string SL1 ()
 
 DEFINE_string (encoded_frame_path, "", "The base path for encoded frame logs. Created files will have " "the form <encoded_frame_path>.<n>.(recv|send.<m>).ivf")
 
std::string EncodedFramePath ()
 
 DEFINE_bool (logs, false, "print logs to stderr")
 
 DEFINE_bool (send_side_bwe, true, "Use send-side bandwidth estimation")
 
 DEFINE_bool (allow_reordering, false, "Allow packet reordering to occur")
 
 DEFINE_string (force_fieldtrials, "", "Field trials control experimental feature code which can be forced. " "E.g. running with --force_fieldtrials=WebRTC-FooFeature/Enable/" " will assign the group Enable to field trial WebRTC-FooFeature. Multiple " "trials are separated by \\)
 
 DEFINE_int32 (min_transmit_bitrate, 400, "Min transmit bitrate incl. padding.")
 
int MinTransmitBitrateKbps ()
 
 DEFINE_int32 (slide_change_interval, 10, "Interval (in seconds) between simulated slide changes.")
 
int SlideChangeInterval ()
 
 DEFINE_int32 (scroll_duration, 0, "Duration (in seconds) during which a slide will be scrolled into place.")
 
int ScrollDuration ()
 
 DEFINE_int32 (width, 640, "Video width.")
 
 DEFINE_int32 (height, 480, "Video height.")
 
 DEFINE_int32 (fps, 30, "Frames per second.")
 
 DEFINE_int32 (start_bitrate, 300, "Call start bitrate in kbps.")
 
 DEFINE_int32 (target_bitrate, 800, "Stream target bitrate in kbps.")
 
 DEFINE_int32 (max_bitrate, 800, "Call and stream max bitrate in kbps.")
 
 DEFINE_bool (suspend_below_min_bitrate, false, "Suspends video below the configured min bitrate.")
 
 DEFINE_int32 (num_temporal_layers, 1, "Number of temporal layers. Set to 1-4 to override.")
 
 DEFINE_int32 (avg_burst_loss_length, -1, "Average burst length of lost packets.")
 
int AvgBurstLossLength ()
 
 DEFINE_bool (use_ulpfec, false, "Use RED+ULPFEC forward error correction.")
 
 DEFINE_bool (use_flexfec, false, "Use FlexFEC forward error correction.")
 
 DEFINE_bool (audio, false, "Add audio stream")
 
 DEFINE_bool (audio_video_sync, false, "Sync audio and video stream (no effect if" " audio is false)")
 
 DEFINE_bool (video, true, "Add video stream")
 
 DEFINE_string (clip, "", "Name of the clip to show. If empty, using chroma generator.")
 
std::string Clip ()
 

Function Documentation

◆ AvgBurstLossLength()

int webrtc::flags::AvgBurstLossLength ( )

◆ AvgPropagationDelayMs()

int webrtc::flags::AvgPropagationDelayMs ( )

◆ Clip()

std::string webrtc::flags::Clip ( )

◆ DEFINE_bool() [1/9]

webrtc::flags::DEFINE_bool ( suspend_below_min_bitrate  ,
false  ,
"Suspends video below the configured min bitrate."   
)

◆ DEFINE_bool() [2/9]

webrtc::flags::DEFINE_bool ( logs  ,
false  ,
"print logs to stderr"   
)

◆ DEFINE_bool() [3/9]

webrtc::flags::DEFINE_bool ( send_side_bwe  ,
true  ,
"Use send-side bandwidth estimation"   
)

◆ DEFINE_bool() [4/9]

webrtc::flags::DEFINE_bool ( allow_reordering  ,
false  ,
"Allow packet reordering to occur"   
)

◆ DEFINE_bool() [5/9]

webrtc::flags::DEFINE_bool ( use_ulpfec  ,
false  ,
"Use RED+ULPFEC forward error correction."   
)

◆ DEFINE_bool() [6/9]

webrtc::flags::DEFINE_bool ( use_flexfec  ,
false  ,
"Use FlexFEC forward error correction."   
)

◆ DEFINE_bool() [7/9]

webrtc::flags::DEFINE_bool ( audio  ,
false  ,
"Add audio stream  
)

◆ DEFINE_bool() [8/9]

webrtc::flags::DEFINE_bool ( audio_video_sync  ,
false  ,
"Sync audio and video stream (no effect if" " audio is false)"   
)

◆ DEFINE_bool() [9/9]

webrtc::flags::DEFINE_bool ( video  ,
true  ,
"Add video stream  
)

◆ DEFINE_int32() [1/34]

webrtc::flags::DEFINE_int32 ( width  ,
640  ,
"Video width."   
)

◆ DEFINE_int32() [2/34]

webrtc::flags::DEFINE_int32 ( width  ,
1850  ,
"Video width (crops source)."   
)

◆ DEFINE_int32() [3/34]

webrtc::flags::DEFINE_int32 ( height  ,
480  ,
"Video height."   
)

◆ DEFINE_int32() [4/34]

webrtc::flags::DEFINE_int32 ( height  ,
1110  ,
"Video height (crops source)."   
)

◆ DEFINE_int32() [5/34]

webrtc::flags::DEFINE_int32 ( fps  ,
30  ,
"Frames per second."   
)

◆ DEFINE_int32() [6/34]

webrtc::flags::DEFINE_int32 ( fps  ,
,
"Frames per second."   
)

◆ DEFINE_int32() [7/34]

webrtc::flags::DEFINE_int32 ( min_bitrate  ,
50  ,
"Call and stream min bitrate in kbps."   
)

◆ DEFINE_int32() [8/34]

webrtc::flags::DEFINE_int32 ( start_bitrate  ,
Call::Config::kDefaultStartBitrateBps 1000,
"Call start bitrate in kbps."   
)

◆ DEFINE_int32() [9/34]

webrtc::flags::DEFINE_int32 ( start_bitrate  ,
300  ,
"Call start bitrate in kbps."   
)

◆ DEFINE_int32() [10/34]

webrtc::flags::DEFINE_int32 ( payload_type  ,
,
"Payload type  
)

◆ DEFINE_int32() [11/34]

webrtc::flags::DEFINE_int32 ( target_bitrate  ,
800  ,
"Stream target bitrate in kbps."   
)

◆ DEFINE_int32() [12/34]

webrtc::flags::DEFINE_int32 ( target_bitrate  ,
200  ,
"Stream target bitrate in kbps."   
)

◆ DEFINE_int32() [13/34]

webrtc::flags::DEFINE_int32 ( max_bitrate  ,
800  ,
"Call and stream max bitrate in kbps."   
)

◆ DEFINE_int32() [14/34]

webrtc::flags::DEFINE_int32 ( max_bitrate  ,
2000  ,
"Call and stream max bitrate in kbps."   
)

◆ DEFINE_int32() [15/34]

webrtc::flags::DEFINE_int32 ( num_temporal_layers  ,
,
"Number of temporal layers to use."   
)

◆ DEFINE_int32() [16/34]

webrtc::flags::DEFINE_int32 ( num_temporal_layers  ,
,
"Number of temporal layers. Set to 1-4 to override."   
)

◆ DEFINE_int32() [17/34]

webrtc::flags::DEFINE_int32 ( red_payload_type  ,
1,
"RED payload type  
)

◆ DEFINE_int32() [18/34]

webrtc::flags::DEFINE_int32 ( selected_tl  ,
1,
"Temporal layer to show or analyze. -1 to disable filtering."   
)

◆ DEFINE_int32() [19/34]

webrtc::flags::DEFINE_int32 ( fec_payload_type  ,
1,
"ULPFEC payload type  
)

◆ DEFINE_int32() [20/34]

webrtc::flags::DEFINE_int32 ( duration  ,
,
"Duration of the test in seconds. If  0,
rendered will be shown instead."   
)

◆ DEFINE_int32() [21/34]

webrtc::flags::DEFINE_int32 ( abs_send_time_id  ,
1,
"RTP extension ID for abs-send-time  
)

◆ DEFINE_int32() [22/34]

webrtc::flags::DEFINE_int32 ( transmission_offset_id  ,
1,
"RTP extension ID for transmission-offset  
)

◆ DEFINE_int32() [23/34]

webrtc::flags::DEFINE_int32 ( loss_percent  ,
,
"Percentage of packets randomly lost."   
)

◆ DEFINE_int32() [24/34]

webrtc::flags::DEFINE_int32 ( link_capacity  ,
,
"Capacity (kbps) of the fake link. 0 means infinite."   
)

◆ DEFINE_int32() [25/34]

webrtc::flags::DEFINE_int32 ( avg_burst_loss_length  ,
1,
"Average burst length of lost packets."   
)

◆ DEFINE_int32() [26/34]

webrtc::flags::DEFINE_int32 ( queue_size  ,
,
"Size of the bottleneck link queue in packets."   
)

◆ DEFINE_int32() [27/34]

webrtc::flags::DEFINE_int32 ( avg_propagation_delay_ms  ,
,
"Average link propagation delay in ms."   
)

◆ DEFINE_int32() [28/34]

webrtc::flags::DEFINE_int32 ( std_propagation_delay_ms  ,
,
"Link propagation delay standard deviation in ms."   
)

◆ DEFINE_int32() [29/34]

webrtc::flags::DEFINE_int32 ( selected_stream  ,
,
"ID of the stream to show or analyze."   
)

◆ DEFINE_int32() [30/34]

webrtc::flags::DEFINE_int32 ( num_spatial_layers  ,
,
"Number of spatial layers to use."   
)

◆ DEFINE_int32() [31/34]

webrtc::flags::DEFINE_int32 ( selected_sl  ,
1,
"Spatial layer to show or analyze. -1 to disable filtering."   
)

◆ DEFINE_int32() [32/34]

webrtc::flags::DEFINE_int32 ( min_transmit_bitrate  ,
400  ,
"Min transmit bitrate incl. padding."   
)

◆ DEFINE_int32() [33/34]

webrtc::flags::DEFINE_int32 ( slide_change_interval  ,
10  ,
"Interval (in seconds) between simulated slide changes."   
)

◆ DEFINE_int32() [34/34]

webrtc::flags::DEFINE_int32 ( scroll_duration  ,
,
"Duration (in seconds) during which a slide will be scrolled into place."   
)

◆ DEFINE_string() [1/14]

webrtc::flags::DEFINE_string ( codec  ,
"VP8"  ,
"Video codec to use."   
)

◆ DEFINE_string() [2/14]

webrtc::flags::DEFINE_string ( output_filename  ,
""  ,
"Target graph data filename."   
)

◆ DEFINE_string() [3/14]

webrtc::flags::DEFINE_string ( graph_title  ,
""  ,
"If  empty,
title will be generated automatically."   
)

◆ DEFINE_string() [4/14]

webrtc::flags::DEFINE_string ( input_file  ,
""  ,
"input file  
)

◆ DEFINE_string() [5/14]

webrtc::flags::DEFINE_string ( out_base  ,
""  ,
"Basename (excluding .yuv) for raw output  
)

◆ DEFINE_string() [6/14]

webrtc::flags::DEFINE_string ( decoder_bitstream_filename  ,
""  ,
"Decoder bitstream output file  
)

◆ DEFINE_string() [7/14]

webrtc::flags::DEFINE_string ( codec  ,
"VP8"  ,
"Video codec  
)

◆ DEFINE_string() [8/14]

webrtc::flags::DEFINE_string ( stream0  ,
""  ,
"Comma separated values describing VideoStream for stream #0."   
)

◆ DEFINE_string() [9/14]

webrtc::flags::DEFINE_string ( stream1  ,
""  ,
"Comma separated values describing VideoStream for stream #1."   
)

◆ DEFINE_string() [10/14]

webrtc::flags::DEFINE_string ( sl0  ,
""  ,
"Comma separated values describing SpatialLayer for layer #0."   
)

◆ DEFINE_string() [11/14]

webrtc::flags::DEFINE_string ( sl1  ,
""  ,
"Comma separated values describing SpatialLayer for layer #1."   
)

◆ DEFINE_string() [12/14]

webrtc::flags::DEFINE_string ( encoded_frame_path  ,
""  ,
"The base path for encoded frame logs. Created files will have " "the form <encoded_frame_path>.<n>.(recv|send.<m>).ivf"   
)

◆ DEFINE_string() [13/14]

webrtc::flags::DEFINE_string ( force_fieldtrials  ,
""  ,
"Field trials control experimental feature code which can be forced. " "E.g. running with --  force_fieldtrials = WebRTC-FooFeature/Enable/" " will assign the group Enable to field trial WebRTC-FooFeature. Multiple " "trials are separated by \\ 
)

◆ DEFINE_string() [14/14]

webrtc::flags::DEFINE_string ( clip  ,
""  ,
"Name of the clip to show. If  empty,
using chroma generator."   
)

◆ DEFINE_uint64()

webrtc::flags::DEFINE_uint64 ( ssrc  ,
,
"Incoming SSRC"   
)

◆ DurationSecs()

int webrtc::flags::DurationSecs ( )

◆ EncodedFramePath()

std::string webrtc::flags::EncodedFramePath ( )

◆ Fps()

int webrtc::flags::Fps ( )

◆ GraphTitle()

std::string webrtc::flags::GraphTitle ( )

◆ Height()

size_t webrtc::flags::Height ( )

◆ LinkCapacityKbps()

int webrtc::flags::LinkCapacityKbps ( )

◆ LossPercent()

int webrtc::flags::LossPercent ( )

◆ MaxBitrateKbps()

int webrtc::flags::MaxBitrateKbps ( )

◆ MinBitrateKbps()

int webrtc::flags::MinBitrateKbps ( )

◆ MinTransmitBitrateKbps()

int webrtc::flags::MinTransmitBitrateKbps ( )

◆ NumSpatialLayers()

int webrtc::flags::NumSpatialLayers ( )

◆ NumTemporalLayers()

int webrtc::flags::NumTemporalLayers ( )

◆ OutputFilename()

std::string webrtc::flags::OutputFilename ( )

◆ QueueSize()

int webrtc::flags::QueueSize ( )

◆ ScrollDuration()

int webrtc::flags::ScrollDuration ( )

◆ SelectedSL()

int webrtc::flags::SelectedSL ( )

◆ SelectedStream()

int webrtc::flags::SelectedStream ( )

◆ SelectedTL()

int webrtc::flags::SelectedTL ( )

◆ SL0()

std::string webrtc::flags::SL0 ( )

◆ SL1()

std::string webrtc::flags::SL1 ( )

◆ SlideChangeInterval()

int webrtc::flags::SlideChangeInterval ( )

◆ StartBitrateKbps()

int webrtc::flags::StartBitrateKbps ( )

◆ StdPropagationDelayMs()

int webrtc::flags::StdPropagationDelayMs ( )

◆ Stream0()

std::string webrtc::flags::Stream0 ( )

◆ Stream1()

std::string webrtc::flags::Stream1 ( )

◆ TargetBitrateKbps()

int webrtc::flags::TargetBitrateKbps ( )

◆ ValidateInputFilenameNotEmpty()

bool webrtc::flags::ValidateInputFilenameNotEmpty ( const char *  flagname,
const std::string string 
)

◆ Width()

size_t webrtc::flags::Width ( )