Home | History | Annotate | Download | only in media

Lines Matching defs:cryptos

123 void AddMediaCryptos(const CryptoParamsVec& cryptos,
125 for (CryptoParamsVec::const_iterator crypto = cryptos.begin();
126 crypto != cryptos.end(); ++crypto) {
133 CryptoParamsVec cryptos;
136 if (!AddCryptoParams(*it, &cryptos)) {
140 AddMediaCryptos(cryptos, media);
149 return &media->cryptos();
152 bool FindMatchingCrypto(const CryptoParamsVec& cryptos,
155 for (CryptoParamsVec::const_iterator it = cryptos.begin();
156 it != cryptos.end(); ++it) {
217 const CryptoParamsVec& cryptos = offer->cryptos();
219 for (CryptoParamsVec::const_iterator i = cryptos.begin();
220 i != cryptos.end(); ++i) {
590 // sets it to |cryptos|.
593 CryptoParamsVec* cryptos) {
594 if (!sdesc || !cryptos) {
605 *cryptos = media_desc->cryptos();
662 // available cryptos.
671 // Get the common cryptos.
679 // The common cryptos are needed if any of the content does not have DTLS
694 CryptoParamsVec cryptos;
695 if (!GetCryptosByName(sdesc, *it, &cryptos)) {
698 PruneCryptos(cryptos, &common_cryptos);
706 // Update to use the common cryptos.
785 if (offer->cryptos().empty()) {
793 if (offer->crypto_required() == CT_SDES && offer->cryptos().empty()) {
1065 if (answer->cryptos().empty() &&
1124 if (!desc->cryptos().empty())
1761 // Do not require or create SDES cryptos if DTLS is used.
1812 // Do not require or create SDES cryptos if DTLS is used.
1870 // Do not require or create SDES cryptos if DTLS is used.