File tree Expand file tree Collapse file tree 2 files changed +1
-21
lines changed Expand file tree Collapse file tree 2 files changed +1
-21
lines changed Original file line number Diff line number Diff line change @@ -1222,10 +1222,6 @@ RTCError MediaSessionDescriptionFactory::AddRtpContentForOffer(
12221222 } else {
12231223 content_description = std::make_unique<VideoContentDescription>();
12241224 }
1225- // RingRTC: Allow out-of-band / "manual" key negotiation.
1226- if (manually_specify_keys ()) {
1227- content_description->set_manually_specify_keys (true );
1228- }
12291225
12301226 // RFC 8888 support.
12311227 content_description->set_rtcp_fb_ack_ccfb (
@@ -1404,11 +1400,6 @@ RTCError MediaSessionDescriptionFactory::AddRtpContentForAnswer(
14041400 answer_content = std::make_unique<VideoContentDescription>();
14051401 }
14061402
1407- // RingRTC: Allow out-of-band / "manual" key negotiation.
1408- if (manually_specify_keys ()) {
1409- answer_content->set_manually_specify_keys (true );
1410- }
1411-
14121403 // RFC 8888 support. Only answer with "ack ccfb" if offer has it and
14131404 // experiment is enabled.
14141405 if (offer_content_description->rtcp_fb_ack_ccfb ()) {
Original file line number Diff line number Diff line change @@ -28,18 +28,7 @@ void CreateSessionDescriptionObserverRffi::OnSuccess(
2828 SessionDescriptionInterface* session_description) {
2929 // OnSuccess transfers ownership of the description
3030 RTC_LOG (LS_INFO) << " CreateSessionDescriptionObserverRffi:OnSuccess(): " ;
31-
32- std::string sdp;
33- if (session_description->ToString (&sdp)) {
34- std::unique_ptr<SessionDescriptionInterface> session_description2 =
35- CreateSessionDescription (session_description->GetType (), sdp);
36- delete session_description;
37- this ->csd_observer_cbs_ .onSuccess (this ->csd_observer_ ,
38- session_description2.release ());
39- } else {
40- RTC_LOG (LS_ERROR)
41- << " Unable to convert SessionDescriptionInterface to std::string" ;
42- }
31+ this ->csd_observer_cbs_ .onSuccess (this ->csd_observer_ , session_description);
4332}
4433
4534void CreateSessionDescriptionObserverRffi::OnFailure (RTCError error) {
You can’t perform that action at this time.
0 commit comments