• Home
  • Raw
  • Download

Lines Matching refs:sdesc

323 static void GetCurrentStreamParams(const SessionDescription* sdesc,  in GetCurrentStreamParams()  argument
325 if (!sdesc) in GetCurrentStreamParams()
328 const ContentInfos& contents = sdesc->contents(); in GetCurrentStreamParams()
555 SessionDescription* sdesc) { in UpdateTransportInfoForBundle() argument
557 if (!sdesc || !bundle_group.FirstContentName()) { in UpdateTransportInfoForBundle()
564 sdesc->GetTransportInfoByName(selected_content_name); in UpdateTransportInfoForBundle()
577 sdesc->transport_infos().begin(); in UpdateTransportInfoForBundle()
578 it != sdesc->transport_infos().end(); ++it) { in UpdateTransportInfoForBundle()
591 static bool GetCryptosByName(const SessionDescription* sdesc, in GetCryptosByName() argument
594 if (!sdesc || !cryptos) { in GetCryptosByName()
598 const ContentInfo* content = sdesc->GetContentByName(content_name); in GetCryptosByName()
644 static bool IsRtpContent(SessionDescription* sdesc, in IsRtpContent() argument
647 ContentInfo* content = sdesc->GetContentByName(content_name); in IsRtpContent()
664 SessionDescription* sdesc) { in UpdateCryptoParamsForBundle() argument
666 if (!sdesc || !bundle_group.FirstContentName()) { in UpdateCryptoParamsForBundle()
676 if (!IsRtpContent(sdesc, *it)) { in UpdateCryptoParamsForBundle()
681 if (!sdesc->GetTransportInfoByName(*it)->description.secure()) { in UpdateCryptoParamsForBundle()
686 if (!GetCryptosByName(sdesc, *it, &common_cryptos)) { in UpdateCryptoParamsForBundle()
695 if (!GetCryptosByName(sdesc, *it, &cryptos)) { in UpdateCryptoParamsForBundle()
709 if (!IsRtpContent(sdesc, *it)) { in UpdateCryptoParamsForBundle()
712 ContentInfo* content = sdesc->GetContentByName(*it); in UpdateCryptoParamsForBundle()
1951 static const ContentInfo* GetFirstMediaContent(const SessionDescription* sdesc, in GetFirstMediaContent() argument
1953 if (sdesc == NULL) in GetFirstMediaContent()
1956 return GetFirstMediaContent(sdesc->contents(), media_type); in GetFirstMediaContent()
1959 const ContentInfo* GetFirstAudioContent(const SessionDescription* sdesc) { in GetFirstAudioContent() argument
1960 return GetFirstMediaContent(sdesc, MEDIA_TYPE_AUDIO); in GetFirstAudioContent()
1963 const ContentInfo* GetFirstVideoContent(const SessionDescription* sdesc) { in GetFirstVideoContent() argument
1964 return GetFirstMediaContent(sdesc, MEDIA_TYPE_VIDEO); in GetFirstVideoContent()
1967 const ContentInfo* GetFirstDataContent(const SessionDescription* sdesc) { in GetFirstDataContent() argument
1968 return GetFirstMediaContent(sdesc, MEDIA_TYPE_DATA); in GetFirstDataContent()
1972 const SessionDescription* sdesc, MediaType media_type) { in GetFirstMediaContentDescription() argument
1973 const ContentInfo* content = GetFirstMediaContent(sdesc, media_type); in GetFirstMediaContentDescription()
1979 const SessionDescription* sdesc) { in GetFirstAudioContentDescription() argument
1981 GetFirstMediaContentDescription(sdesc, MEDIA_TYPE_AUDIO)); in GetFirstAudioContentDescription()
1985 const SessionDescription* sdesc) { in GetFirstVideoContentDescription() argument
1987 GetFirstMediaContentDescription(sdesc, MEDIA_TYPE_VIDEO)); in GetFirstVideoContentDescription()
1991 const SessionDescription* sdesc) { in GetFirstDataContentDescription() argument
1993 GetFirstMediaContentDescription(sdesc, MEDIA_TYPE_DATA)); in GetFirstDataContentDescription()