webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Namespaces | Functions
mediasession.cc File Reference
#include "webrtc/pc/mediasession.h"
#include <algorithm>
#include <functional>
#include <map>
#include <memory>
#include <set>
#include <unordered_map>
#include <utility>
#include "webrtc/base/base64.h"
#include "webrtc/base/checks.h"
#include "webrtc/base/helpers.h"
#include "webrtc/base/logging.h"
#include "webrtc/base/optional.h"
#include "webrtc/base/stringutils.h"
#include "webrtc/common_types.h"
#include "webrtc/common_video/h264/profile_level_id.h"
#include "webrtc/media/base/cryptoparams.h"
#include "webrtc/media/base/mediaconstants.h"
#include "webrtc/p2p/base/p2pconstants.h"
#include "webrtc/pc/channelmanager.h"
#include "webrtc/pc/srtpfilter.h"

Classes

class  cricket::UsedIds< IdStruct >
 
class  cricket::UsedPayloadTypes
 
class  cricket::UsedRtpHeaderExtensionIds
 

Namespaces

 cricket
 

Functions

RtpTransceiverDirection cricket::NegotiateRtpTransceiverDirection (RtpTransceiverDirection offer, RtpTransceiverDirection wants)
 
const CryptoParamsVec * cricket::GetCryptos (const MediaContentDescription *media)
 
bool cricket::FindMatchingCrypto (const CryptoParamsVec &cryptos, const CryptoParams &crypto, CryptoParams *out)
 
void cricket::GetSupportedAudioCryptoSuites (const rtc::CryptoOptions &crypto_options, std::vector< int > *crypto_suites)
 
void cricket::GetSupportedAudioCryptoSuiteNames (const rtc::CryptoOptions &crypto_options, std::vector< std::string > *crypto_suite_names)
 
void cricket::GetSupportedVideoCryptoSuites (const rtc::CryptoOptions &crypto_options, std::vector< int > *crypto_suites)
 
void cricket::GetSupportedVideoCryptoSuiteNames (const rtc::CryptoOptions &crypto_options, std::vector< std::string > *crypto_suite_names)
 
void cricket::GetSupportedDataCryptoSuites (const rtc::CryptoOptions &crypto_options, std::vector< int > *crypto_suites)
 
void cricket::GetSupportedDataCryptoSuiteNames (const rtc::CryptoOptions &crypto_options, std::vector< std::string > *crypto_suite_names)
 
void cricket::GetDefaultSrtpCryptoSuites (const rtc::CryptoOptions &crypto_options, std::vector< int > *crypto_suites)
 
void cricket::GetDefaultSrtpCryptoSuiteNames (const rtc::CryptoOptions &crypto_options, std::vector< std::string > *crypto_suite_names)
 
void cricket::FilterDataCodecs (std::vector< DataCodec > *codecs, bool sctp)
 
std::string cricket::MediaContentDirectionToString (MediaContentDirection direction)
 
bool cricket::IsMediaContent (const ContentInfo *content)
 
bool cricket::IsAudioContent (const ContentInfo *content)
 
bool cricket::IsVideoContent (const ContentInfo *content)
 
bool cricket::IsDataContent (const ContentInfo *content)
 
const ContentInfo * cricket::GetFirstMediaContent (const ContentInfos &contents, MediaType media_type)
 
const ContentInfo * cricket::GetFirstAudioContent (const ContentInfos &contents)
 
const ContentInfo * cricket::GetFirstVideoContent (const ContentInfos &contents)
 
const ContentInfo * cricket::GetFirstDataContent (const ContentInfos &contents)
 
const ContentInfo * cricket::GetFirstAudioContent (const SessionDescription *sdesc)
 
const ContentInfo * cricket::GetFirstVideoContent (const SessionDescription *sdesc)
 
const ContentInfo * cricket::GetFirstDataContent (const SessionDescription *sdesc)
 
const MediaContentDescription * cricket::GetFirstMediaContentDescription (const SessionDescription *sdesc, MediaType media_type)
 
const AudioContentDescription * cricket::GetFirstAudioContentDescription (const SessionDescription *sdesc)
 
const VideoContentDescription * cricket::GetFirstVideoContentDescription (const SessionDescription *sdesc)
 
const DataContentDescription * cricket::GetFirstDataContentDescription (const SessionDescription *sdesc)
 
ContentInfo * cricket::GetFirstMediaContent (ContentInfos &contents, MediaType media_type)
 
ContentInfo * cricket::GetFirstAudioContent (ContentInfos &contents)
 
ContentInfo * cricket::GetFirstVideoContent (ContentInfos &contents)
 
ContentInfo * cricket::GetFirstDataContent (ContentInfos &contents)
 
ContentInfo * cricket::GetFirstAudioContent (SessionDescription *sdesc)
 
ContentInfo * cricket::GetFirstVideoContent (SessionDescription *sdesc)
 
ContentInfo * cricket::GetFirstDataContent (SessionDescription *sdesc)
 
MediaContentDescription * cricket::GetFirstMediaContentDescription (SessionDescription *sdesc, MediaType media_type)
 
AudioContentDescription * cricket::GetFirstAudioContentDescription (SessionDescription *sdesc)
 
VideoContentDescription * cricket::GetFirstVideoContentDescription (SessionDescription *sdesc)
 
DataContentDescription * cricket::GetFirstDataContentDescription (SessionDescription *sdesc)