Android-cuttlefish cvd tool
|
#include "cuttlefish/host/frontend/webrtc/libcommon/utils.h"
#include <functional>
#include <json/json.h>
#include "cuttlefish/common/libs/utils/json.h"
Namespaces | |
namespace | cuttlefish |
namespace | cuttlefish::webrtc_streaming |
namespace | cuttlefish::webrtc_streaming::anonymous_namespace{utils.cpp} |
Functions | |
template<typename T > | |
Json::Value | cuttlefish::webrtc_streaming::anonymous_namespace{utils.cpp}::ToArray (const std::vector< T > &vec, std::function< Json::Value(const T &)> to_json) |
Result< std::unique_ptr< webrtc::SessionDescriptionInterface > > | cuttlefish::webrtc_streaming::ParseSessionDescription (const std::string &type, const Json::Value &message, webrtc::SdpType sdp_type) |
Result< std::unique_ptr< webrtc::IceCandidateInterface > > | cuttlefish::webrtc_streaming::ParseIceCandidate (const std::string &type, const Json::Value &message) |
Result< std::string > | cuttlefish::webrtc_streaming::ParseError (const std::string &type, const Json::Value &message) |
Result< std::vector< webrtc::PeerConnectionInterface::IceServer > > | cuttlefish::webrtc_streaming::ParseIceServersMessage (const Json::Value &message) |
Json::Value | cuttlefish::webrtc_streaming::GenerateIceServersMessage (const std::vector< webrtc::PeerConnectionInterface::IceServer > &ice_servers) |