Remove dead code GetSimulcastSsrcs from simulcast.{cc,h}.

Bug: None
Change-Id: Ib1315bb65ebbf6c33008c9522451d9782119f5ca
Reviewed-on: https://webrtc-review.googlesource.com/47561
Reviewed-by: Erik Språng <sprang@webrtc.org>
Reviewed-by: Per Kjellander <perkj@webrtc.org>
Commit-Queue: Rasmus Brandt <brandtr@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21974}
This commit is contained in:
Rasmus Brandt 2018-02-05 09:47:07 +01:00 committed by Commit Bot
parent 75e38d2dc3
commit 2d40ad3f04
2 changed files with 0 additions and 11 deletions

View File

@ -61,14 +61,6 @@ static const int
kDefaultConferenceNumberOfTemporalLayers[webrtc::kMaxSimulcastStreams] =
{3, 3, 3, 3};
void GetSimulcastSsrcs(const StreamParams& sp, std::vector<uint32_t>* ssrcs) {
const SsrcGroup* sim_group = sp.get_ssrc_group(kSimSsrcGroupSemantics);
if (sim_group) {
ssrcs->insert(
ssrcs->end(), sim_group->ssrcs.begin(), sim_group->ssrcs.end());
}
}
int FindSimulcastFormatIndex(int width, int height) {
RTC_DCHECK_GE(width, 0);
RTC_DCHECK_GE(height, 0);

View File

@ -43,9 +43,6 @@ struct ScreenshareLayerConfig {
int GetTotalMaxBitrateBps(const std::vector<webrtc::VideoStream>& streams);
// Get the ssrcs of the SIM group from the stream params.
void GetSimulcastSsrcs(const StreamParams& sp, std::vector<uint32_t>* ssrcs);
// Get simulcast settings.
// TODO(sprang): Remove default parameter when it's not longer referenced.
std::vector<webrtc::VideoStream> GetSimulcastConfig(size_t max_streams,