Remove VIDEOCODEC_* from engine_configurations.h.

Removes index-based codec fetching from the VCM and overall cleans up
the code.

BUG=webrtc:1695
R=mflodman@webrtc.org

Review URL: https://codereview.webrtc.org/1425613004 .

Cr-Commit-Position: refs/heads/master@{#10770}
This commit is contained in:
Peter Boström
2015-11-24 13:55:55 +01:00
parent 4f2152e328
commit 92f8dbde77
8 changed files with 19 additions and 158 deletions

View File

@ -51,14 +51,8 @@ class VCMCodecDataBase {
~VCMCodecDataBase();
// Sender Side
// Returns the number of supported codecs (or -1 in case of error).
static int NumberOfCodecs();
// Returns the default settings for the codec with id |list_id|.
static bool Codec(int list_id, VideoCodec* settings);
// Returns the default settings for the codec with type |codec_type|.
static bool Codec(VideoCodecType codec_type, VideoCodec* settings);
static void Codec(VideoCodecType codec_type, VideoCodec* settings);
void ResetSender();