Android-cuttlefish cvd tool
Classes | Functions | Variables
cuttlefish::webrtc_streaming::anonymous_namespace{streamer.cpp} Namespace Reference

Classes

class  AudioDeviceModuleWrapper
 
struct  ControlPanelButtonDescriptor
 
struct  DisplayDescriptor
 
struct  OperatorServerConfig
 
struct  TouchpadDescriptor
 

Functions

bool ParseMessage (const uint8_t *data, size_t length, Json::Value *msg_out)
 

Variables

constexpr auto kStreamIdField = "stream_id"
 
constexpr auto kLabelField = "label"
 
constexpr auto kXResField = "x_res"
 
constexpr auto kYResField = "y_res"
 
constexpr auto kDpiField = "dpi"
 
constexpr auto kIsTouchField = "is_touch"
 
constexpr auto kDisplaysField = "displays"
 
constexpr auto kTouchpadsField = "touchpads"
 
constexpr auto kAudioStreamsField = "audio_streams"
 
constexpr auto kHardwareField = "hardware"
 
constexpr auto kOpenwrtDeviceIdField = "openwrt_device_id"
 
constexpr auto kOpenwrtAddrField = "openwrt_addr"
 
constexpr auto kAdbPortField = "adb_port"
 
constexpr auto kControlEnvProxyServerPathField
 
constexpr auto kControlPanelButtonCommand = "command"
 
constexpr auto kControlPanelButtonTitle = "title"
 
constexpr auto kControlPanelButtonIconName = "icon_name"
 
constexpr auto kControlPanelButtonShellCommand = "shell_command"
 
constexpr auto kControlPanelButtonDeviceStates = "device_states"
 
constexpr auto kControlPanelButtonLidSwitchOpen = "lid_switch_open"
 
constexpr auto kControlPanelButtonHingeAngleValue = "hinge_angle_value"
 
constexpr auto kCustomControlPanelButtonsField = "custom_control_panel_buttons"
 
constexpr auto kMouseEnabled = "mouse_enabled"
 
constexpr auto kGamepadEnabled = "gamepad_enabled"
 
constexpr int kRegistrationRetries = 3
 
constexpr int kRetryFirstIntervalMs = 1000
 
constexpr int kReconnectRetries = 100
 
constexpr int kReconnectIntervalMs = 1000
 

Function Documentation

◆ ParseMessage()

bool cuttlefish::webrtc_streaming::anonymous_namespace{streamer.cpp}::ParseMessage ( const uint8_t *  data,
size_t  length,
Json::Value *  msg_out 
)

Variable Documentation

◆ kAdbPortField

constexpr auto cuttlefish::webrtc_streaming::anonymous_namespace{streamer.cpp}::kAdbPortField = "adb_port"
constexpr

◆ kAudioStreamsField

constexpr auto cuttlefish::webrtc_streaming::anonymous_namespace{streamer.cpp}::kAudioStreamsField = "audio_streams"
constexpr

◆ kControlEnvProxyServerPathField

constexpr auto cuttlefish::webrtc_streaming::anonymous_namespace{streamer.cpp}::kControlEnvProxyServerPathField
constexpr
Initial value:
=
"control_env_proxy_server_path"

◆ kControlPanelButtonCommand

constexpr auto cuttlefish::webrtc_streaming::anonymous_namespace{streamer.cpp}::kControlPanelButtonCommand = "command"
constexpr

◆ kControlPanelButtonDeviceStates

constexpr auto cuttlefish::webrtc_streaming::anonymous_namespace{streamer.cpp}::kControlPanelButtonDeviceStates = "device_states"
constexpr

◆ kControlPanelButtonHingeAngleValue

constexpr auto cuttlefish::webrtc_streaming::anonymous_namespace{streamer.cpp}::kControlPanelButtonHingeAngleValue = "hinge_angle_value"
constexpr

◆ kControlPanelButtonIconName

constexpr auto cuttlefish::webrtc_streaming::anonymous_namespace{streamer.cpp}::kControlPanelButtonIconName = "icon_name"
constexpr

◆ kControlPanelButtonLidSwitchOpen

constexpr auto cuttlefish::webrtc_streaming::anonymous_namespace{streamer.cpp}::kControlPanelButtonLidSwitchOpen = "lid_switch_open"
constexpr

◆ kControlPanelButtonShellCommand

constexpr auto cuttlefish::webrtc_streaming::anonymous_namespace{streamer.cpp}::kControlPanelButtonShellCommand = "shell_command"
constexpr

◆ kControlPanelButtonTitle

constexpr auto cuttlefish::webrtc_streaming::anonymous_namespace{streamer.cpp}::kControlPanelButtonTitle = "title"
constexpr

◆ kCustomControlPanelButtonsField

constexpr auto cuttlefish::webrtc_streaming::anonymous_namespace{streamer.cpp}::kCustomControlPanelButtonsField = "custom_control_panel_buttons"
constexpr

◆ kDisplaysField

constexpr auto cuttlefish::webrtc_streaming::anonymous_namespace{streamer.cpp}::kDisplaysField = "displays"
constexpr

◆ kDpiField

constexpr auto cuttlefish::webrtc_streaming::anonymous_namespace{streamer.cpp}::kDpiField = "dpi"
constexpr

◆ kGamepadEnabled

constexpr auto cuttlefish::webrtc_streaming::anonymous_namespace{streamer.cpp}::kGamepadEnabled = "gamepad_enabled"
constexpr

◆ kHardwareField

constexpr auto cuttlefish::webrtc_streaming::anonymous_namespace{streamer.cpp}::kHardwareField = "hardware"
constexpr

◆ kIsTouchField

constexpr auto cuttlefish::webrtc_streaming::anonymous_namespace{streamer.cpp}::kIsTouchField = "is_touch"
constexpr

◆ kLabelField

constexpr auto cuttlefish::webrtc_streaming::anonymous_namespace{streamer.cpp}::kLabelField = "label"
constexpr

◆ kMouseEnabled

constexpr auto cuttlefish::webrtc_streaming::anonymous_namespace{streamer.cpp}::kMouseEnabled = "mouse_enabled"
constexpr

◆ kOpenwrtAddrField

constexpr auto cuttlefish::webrtc_streaming::anonymous_namespace{streamer.cpp}::kOpenwrtAddrField = "openwrt_addr"
constexpr

◆ kOpenwrtDeviceIdField

constexpr auto cuttlefish::webrtc_streaming::anonymous_namespace{streamer.cpp}::kOpenwrtDeviceIdField = "openwrt_device_id"
constexpr

◆ kReconnectIntervalMs

constexpr int cuttlefish::webrtc_streaming::anonymous_namespace{streamer.cpp}::kReconnectIntervalMs = 1000
constexpr

◆ kReconnectRetries

constexpr int cuttlefish::webrtc_streaming::anonymous_namespace{streamer.cpp}::kReconnectRetries = 100
constexpr

◆ kRegistrationRetries

constexpr int cuttlefish::webrtc_streaming::anonymous_namespace{streamer.cpp}::kRegistrationRetries = 3
constexpr

◆ kRetryFirstIntervalMs

constexpr int cuttlefish::webrtc_streaming::anonymous_namespace{streamer.cpp}::kRetryFirstIntervalMs = 1000
constexpr

◆ kStreamIdField

constexpr auto cuttlefish::webrtc_streaming::anonymous_namespace{streamer.cpp}::kStreamIdField = "stream_id"
constexpr

◆ kTouchpadsField

constexpr auto cuttlefish::webrtc_streaming::anonymous_namespace{streamer.cpp}::kTouchpadsField = "touchpads"
constexpr

◆ kXResField

constexpr auto cuttlefish::webrtc_streaming::anonymous_namespace{streamer.cpp}::kXResField = "x_res"
constexpr

◆ kYResField

constexpr auto cuttlefish::webrtc_streaming::anonymous_namespace{streamer.cpp}::kYResField = "y_res"
constexpr