Use vcm::VideoSender in ViEEncoder.
ViEEncoder doesn't need a full VideoCodingModule since it only uses the sender side either way. BUG=webrtc:3608,webrtc:5687 R=perkj@webrtc.org Review URL: https://codereview.webrtc.org/1904983002 . Cr-Commit-Position: refs/heads/master@{#12456}
This commit is contained in:
@ -51,7 +51,7 @@ class VCMProcessTimer {
|
||||
int64_t _latestMs;
|
||||
};
|
||||
|
||||
class VideoSender {
|
||||
class VideoSender : public Module {
|
||||
public:
|
||||
typedef VideoCodingModule::SenderNackMode SenderNackMode;
|
||||
|
||||
@ -96,8 +96,8 @@ class VideoSender {
|
||||
void SuspendBelowMinBitrate();
|
||||
bool VideoSuspended() const;
|
||||
|
||||
int64_t TimeUntilNextProcess();
|
||||
void Process();
|
||||
int64_t TimeUntilNextProcess() override;
|
||||
void Process() override;
|
||||
|
||||
private:
|
||||
void SetEncoderParameters(EncoderParameters params)
|
||||
|
Reference in New Issue
Block a user