Use vcm::VideoReceiver on the receive side.

BUG=
R=perkj@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#12473}
This commit is contained in:
Peter Boström
2016-04-22 18:23:15 +02:00
parent 845afa8a02
commit 0b25072c4e
12 changed files with 97 additions and 91 deletions

View File

@ -128,7 +128,7 @@ class VideoSender : public Module {
std::vector<FrameType> next_frame_types_ GUARDED_BY(params_crit_);
};
class VideoReceiver {
class VideoReceiver : public Module {
public:
typedef VideoCodingModule::ReceiverRobustness ReceiverRobustness;
@ -179,8 +179,8 @@ class VideoReceiver {
int32_t SetReceiveChannelParameters(int64_t rtt);
int32_t SetVideoProtection(VCMVideoProtection videoProtection, bool enable);
int64_t TimeUntilNextProcess();
void Process();
int64_t TimeUntilNextProcess() override;
void Process() override;
void TriggerDecoderShutdown();