Android-cuttlefish cvd tool
Namespaces | Functions
utils.h File Reference
#include <memory>
#include <vector>
#include <json/json.h>
#include <api/peer_connection_interface.h>
#include "cuttlefish/common/libs/utils/result.h"
Include dependency graph for utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  cuttlefish
 
namespace  cuttlefish::webrtc_streaming
 

Functions

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)