Home | History | Annotate | Download | only in protocol

Lines Matching refs:ChannelConfig

40 const NameMapElement<ChannelConfig::TransportType> kTransports[] = {
41 { ChannelConfig::TRANSPORT_STREAM, "stream" },
42 { ChannelConfig::TRANSPORT_MUX_STREAM, "mux-stream" },
43 { ChannelConfig::TRANSPORT_DATAGRAM, "datagram" },
44 { ChannelConfig::TRANSPORT_NONE, "none" },
47 const NameMapElement<ChannelConfig::Codec> kCodecs[] = {
48 { ChannelConfig::CODEC_VERBATIM, "verbatim" },
49 { ChannelConfig::CODEC_VP8, "vp8" },
50 { ChannelConfig::CODEC_VP9, "vp9" },
51 { ChannelConfig::CODEC_ZIP, "zip" },
52 { ChannelConfig::CODEC_OPUS, "opus" },
53 { ChannelConfig::CODEC_SPEEX, "speex" },
59 XmlElement* FormatChannelConfig(const ChannelConfig& config,
67 if (config.transport != ChannelConfig::TRANSPORT_NONE) {
71 if (config.codec != ChannelConfig::CODEC_UNDEFINED) {
82 ChannelConfig* config) {
90 if (config->transport != ChannelConfig::TRANSPORT_NONE) {
103 config->codec = ChannelConfig::CODEC_UNDEFINED;
107 config->codec = ChannelConfig::CODEC_UNDEFINED;
148 std::vector<ChannelConfig>::const_iterator it;
167 ChannelConfig config = *it;
194 std::vector<ChannelConfig>* const configs) {
199 ChannelConfig channel_config;
207 configs->push_back(ChannelConfig::None());