Skip to content
Snippets Groups Projects
Commit 331fe61c authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #18261: sdp: fix function name

parent 013d54d3
No related branches found
No related tags found
No related merge requests found
...@@ -199,7 +199,7 @@ void Sdp::getSessionAudioMedia(std::vector<sfl::AudioCodec*> &codecs) const ...@@ -199,7 +199,7 @@ void Sdp::getSessionAudioMedia(std::vector<sfl::AudioCodec*> &codecs) const
pjmedia_sdp_media * pjmedia_sdp_media *
Sdp::setMediaDescriptorLine(bool audio) Sdp::setMediaDescriptorLines(bool audio)
{ {
pjmedia_sdp_media *med = PJ_POOL_ZALLOC_T(memPool_, pjmedia_sdp_media); pjmedia_sdp_media *med = PJ_POOL_ZALLOC_T(memPool_, pjmedia_sdp_media);
...@@ -367,9 +367,9 @@ int Sdp::createLocalSession(const vector<int> &selectedAudioCodecs, const vector ...@@ -367,9 +367,9 @@ int Sdp::createLocalSession(const vector<int> &selectedAudioCodecs, const vector
// For DTMF RTP events // For DTMF RTP events
const bool audio = true; const bool audio = true;
localSession_->media_count = 1; localSession_->media_count = 1;
localSession_->media[0] = setMediaDescriptorLine(audio); localSession_->media[0] = setMediaDescriptorLines(audio);
if (not selectedVideoCodecs.empty()) { if (not selectedVideoCodecs.empty()) {
localSession_->media[1] = setMediaDescriptorLine(!audio); localSession_->media[1] = setMediaDescriptorLines(!audio);
++localSession_->media_count; ++localSession_->media_count;
} }
......
...@@ -323,7 +323,7 @@ class Sdp { ...@@ -323,7 +323,7 @@ class Sdp {
* Build the sdp media section * Build the sdp media section
* Add rtpmap field if necessary * Add rtpmap field if necessary
*/ */
pjmedia_sdp_media *setMediaDescriptorLine(bool audio); pjmedia_sdp_media *setMediaDescriptorLines(bool audio);
void setTelephoneEventRtpmap(pjmedia_sdp_media *med); void setTelephoneEventRtpmap(pjmedia_sdp_media *med);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment