Skip to content
Snippets Groups Projects
Commit d13df76b authored by Ezra Pierce's avatar Ezra Pierce
Browse files

SIPCall: remove unused code

getAudioRTP() is not in use anywhere.

Change-Id: Ie88c2f80b1fd7d30f6c4fa586fbf7eaaa3c340ba
parent e5a449d6
No related branches found
No related tags found
No related merge requests found
......@@ -3129,16 +3129,6 @@ SIPCall::createSinks(const ConfInfo& infos)
}
#endif
std::shared_ptr<AudioRtpSession>
SIPCall::getAudioRtp() const
{
// For the moment, the clients support only one audio stream, so we
// return the first audio stream.
for (const auto& rtp : getRtpSessionList(MediaType::MEDIA_AUDIO))
return std::dynamic_pointer_cast<AudioRtpSession>(rtp);
return nullptr;
}
std::vector<std::shared_ptr<RtpSession>>
SIPCall::getRtpSessionList(MediaType type) const
{
......
......@@ -280,7 +280,6 @@ public:
void operator()(pjsip_inv_session*) const noexcept;
};
std::shared_ptr<AudioRtpSession> getAudioRtp() const;
#ifdef ENABLE_VIDEO
void setRotation(int streamIdx, int rotation);
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment