Android-cuttlefish cvd tool
Namespaces | Classes | Functions | Variables
cuttlefish::webrtc_streaming Namespace Reference

Namespaces

namespace  anonymous_namespace{adb_handler.cpp}
 
namespace  anonymous_namespace{data_channels.cpp}
 
namespace  anonymous_namespace{sensors_handler.cpp}
 
namespace  anonymous_namespace{streamer.cpp}
 
namespace  anonymous_namespace{utils.cpp}
 
namespace  anonymous_namespace{video_track_source_impl.cpp}
 

Classes

struct  AdbHandler
 
class  AudioFrameBuffer
 
class  AudioSink
 
class  AudioSource
 
class  AudioTrackSourceImpl
 
class  AudioTrackSourceImplSinkWrapper
 
struct  BluetoothHandler
 
class  CameraStreamer
 
class  CfAudioDeviceModule
 
class  ClientHandler
 
class  ClientVideoTrackImpl
 
class  ClientVideoTrackInterface
 
class  ConnectionController
 
class  ConnectionObserver
 
class  ConnectionObserverFactory
 
class  CreateSessionDescriptionObserverIntermediate
 
class  DataChannelHandler
 
class  DataChannelHandlers
 
struct  GpxLocationsHandler
 
struct  KmlLocationsHandler
 
struct  Light
 
class  LightsObserver
 
class  LocalRecorder
 
struct  LocationHandler
 
class  OperatorObserver
 
class  PeerConnectionBuilder
 
class  PeerSignalingHandler
 
class  RecordingManager
 
struct  SensorsHandler
 
class  ServerConnection
 
class  ServerConnectionObserver
 
class  SetRemoteDescriptionObserverIntermediate
 
class  SetSessionDescriptionObserverIntermediate
 
class  Source
 
class  Streamer
 
struct  StreamerConfig
 
class  UnixServerConnection
 
class  VideoSink
 
class  VideoTrackSourceImpl
 
class  VideoTrackSourceImplSinkWrapper
 
class  VP8OnlyEncoderFactory
 

Functions

Result< std::unique_ptr< rtc::Thread > > CreateAndStartThread (const std::string &name)
 
Result< rtc::scoped_refptr< webrtc::PeerConnectionFactoryInterface > > CreatePeerConnectionFactory (rtc::Thread *network_thread, rtc::Thread *worker_thread, rtc::Thread *signal_thread, rtc::scoped_refptr< webrtc::AudioDeviceModule > audio_device_module)
 
Result< rtc::scoped_refptr< webrtc::PeerConnectionInterface > > CreatePeerConnection (rtc::scoped_refptr< webrtc::PeerConnectionFactoryInterface > peer_connection_factory, webrtc::PeerConnectionDependencies dependencies, uint16_t min_port, uint16_t max_port, const std::vector< webrtc::PeerConnectionInterface::IceServer > &servers)
 
Result< std::unique_ptr< webrtc::SessionDescriptionInterface > > ParseSessionDescription (const std::string &type, const Json::Value &message, webrtc::SdpType sdp_type)
 
Result< std::unique_ptr< webrtc::IceCandidateInterface > > ParseIceCandidate (const std::string &type, const Json::Value &message)
 
Result< std::string > ParseError (const std::string &type, const Json::Value &message)
 
Result< std::vector< webrtc::PeerConnectionInterface::IceServer > > ParseIceServersMessage (const Json::Value &message)
 
Json::Value GenerateIceServersMessage (const std::vector< webrtc::PeerConnectionInterface::IceServer > &ice_servers)
 

Variables

constexpr auto kControlChannelLabel = "device-control"
 
constexpr double kRtpTicksPerSecond = 90000.
 
constexpr double kRtpTicksPerMs = kRtpTicksPerSecond / 1000.
 
constexpr double kRtpTicksPerUs = kRtpTicksPerMs / 1000.
 
constexpr double kRtpTicksPerNs = kRtpTicksPerUs / 1000.
 

Function Documentation

◆ CreateAndStartThread()

Result< std::unique_ptr< rtc::Thread > > cuttlefish::webrtc_streaming::CreateAndStartThread ( const std::string &  name)

◆ CreatePeerConnection()

Result< rtc::scoped_refptr< webrtc::PeerConnectionInterface > > cuttlefish::webrtc_streaming::CreatePeerConnection ( rtc::scoped_refptr< webrtc::PeerConnectionFactoryInterface >  peer_connection_factory,
webrtc::PeerConnectionDependencies  dependencies,
uint16_t  min_port,
uint16_t  max_port,
const std::vector< webrtc::PeerConnectionInterface::IceServer > &  servers 
)

◆ CreatePeerConnectionFactory()

Result< rtc::scoped_refptr< webrtc::PeerConnectionFactoryInterface > > cuttlefish::webrtc_streaming::CreatePeerConnectionFactory ( rtc::Thread *  network_thread,
rtc::Thread *  worker_thread,
rtc::Thread *  signal_thread,
rtc::scoped_refptr< webrtc::AudioDeviceModule >  audio_device_module 
)

◆ GenerateIceServersMessage()

Json::Value cuttlefish::webrtc_streaming::GenerateIceServersMessage ( const std::vector< webrtc::PeerConnectionInterface::IceServer > &  ice_servers)

◆ ParseError()

Result< std::string > cuttlefish::webrtc_streaming::ParseError ( const std::string &  type,
const Json::Value &  message 
)

◆ ParseIceCandidate()

Result< std::unique_ptr< webrtc::IceCandidateInterface > > cuttlefish::webrtc_streaming::ParseIceCandidate ( const std::string &  type,
const Json::Value &  message 
)

◆ ParseIceServersMessage()

Result< std::vector< webrtc::PeerConnectionInterface::IceServer > > cuttlefish::webrtc_streaming::ParseIceServersMessage ( const Json::Value &  message)

◆ ParseSessionDescription()

Result< std::unique_ptr< webrtc::SessionDescriptionInterface > > cuttlefish::webrtc_streaming::ParseSessionDescription ( const std::string &  type,
const Json::Value &  message,
webrtc::SdpType  sdp_type 
)

Variable Documentation

◆ kControlChannelLabel

constexpr auto cuttlefish::webrtc_streaming::kControlChannelLabel = "device-control"
constexpr

◆ kRtpTicksPerMs

constexpr double cuttlefish::webrtc_streaming::kRtpTicksPerMs = kRtpTicksPerSecond / 1000.
constexpr

◆ kRtpTicksPerNs

constexpr double cuttlefish::webrtc_streaming::kRtpTicksPerNs = kRtpTicksPerUs / 1000.
constexpr

◆ kRtpTicksPerSecond

constexpr double cuttlefish::webrtc_streaming::kRtpTicksPerSecond = 90000.
constexpr

◆ kRtpTicksPerUs

constexpr double cuttlefish::webrtc_streaming::kRtpTicksPerUs = kRtpTicksPerMs / 1000.
constexpr