Home | History | Annotate | Download | only in media

Lines Matching refs:answer

1036     MediaContentDescriptionImpl<C>* answer) {
1039 answer->AddCodecs(negotiated_codecs);
1040 answer->SortCodecs();
1041 answer->set_protocol(offer->protocol());
1046 answer->set_rtp_header_extensions(negotiated_rtp_extensions);
1048 answer->set_rtcp_mux(options.rtcp_mux_enabled && offer->rtcp_mux());
1051 // if (answer->type() == cricket::MEDIA_TYPE_VIDEO) {
1052 // answer->set_rtcp_reduced_size(offer->rtcp_reduced_size());
1061 answer->AddCrypto(crypto);
1065 if (answer->cryptos().empty() &&
1071 answer->type(), options.streams, current_streams,
1072 answer, add_legacy_stream)) {
1076 // Make sure the answer media content direction is per default set as
1080 answer->set_direction(MD_INACTIVE);
1083 answer->set_direction(MD_RECVONLY);
1086 answer->set_direction(IsRtpProtocol(answer->protocol()) &&
1087 answer->streams().empty()
1092 answer->set_direction(IsRtpProtocol(answer->protocol()) &&
1093 answer->streams().empty()
1364 // The answer contains the intersection of the codecs in the offer with the
1366 // XEP-0167, we retain the same payload ids from the offer in the answer.
1367 scoped_ptr<SessionDescription> answer(new SessionDescription());
1377 &current_streams, answer.get())) {
1382 &current_streams, answer.get())) {
1388 &current_streams, answer.get())) {
1396 // group in the answer with the appropriate content names.
1400 for (ContentInfos::const_iterator content = answer->contents().begin();
1401 content != answer->contents().end(); ++content) {
1407 answer->AddGroup(answer_bundle);
1411 if (!UpdateTransportInfoForBundle(answer_bundle, answer.get())) {
1416 if (!UpdateCryptoParamsForBundle(answer_bundle, answer.get())) {
1423 return answer.release();
1742 SessionDescription* answer) const {
1784 AddTransportAnswer(audio_content->name, *(audio_transport.get()), answer);
1787 // The answer MUST contain the same number of m-lines as the offer.
1788 LOG(LS_INFO) << "Audio is not supported in the answer.";
1791 answer->AddContent(audio_content->name, audio_content->type, rejected,
1801 SessionDescription* answer) const {
1837 answer)) {
1843 // The answer MUST contain the same number of m-lines as the offer.
1844 LOG(LS_INFO) << "Video is not supported in the answer.";
1846 answer->AddContent(video_content->name, video_content->type, rejected,
1856 SessionDescription* answer) const {
1897 answer)) {
1902 // The answer MUST contain the same number of m-lines as the offer.
1903 LOG(LS_INFO) << "Data is not supported in the answer.";
1905 answer->AddContent(data_content->name, data_content->type, rejected,