Reland "Avoid critsect for protection- and qm setting callbacks in
VideoSender." The original Cl is uploaded as patch set 1, the fix in ps#2 and I'll rebase in ps#3. BUG=4534 R=pbos@webrtc.org Review URL: https://webrtc-codereview.appspot.com/46769004 Cr-Commit-Position: refs/heads/master@{#9000}
This commit is contained in:
@ -82,7 +82,9 @@ public:
|
||||
};
|
||||
|
||||
static VideoCodingModule* Create(
|
||||
VideoEncoderRateObserver* encoder_rate_observer);
|
||||
Clock* clock,
|
||||
VideoEncoderRateObserver* encoder_rate_observer,
|
||||
VCMQMSettingsCallback* qm_settings_callback);
|
||||
|
||||
static VideoCodingModule* Create(Clock* clock, EventFactory* event_factory);
|
||||
|
||||
@ -267,16 +269,6 @@ public:
|
||||
virtual int32_t RegisterSendStatisticsCallback(
|
||||
VCMSendStatisticsCallback* sendStats) = 0;
|
||||
|
||||
// Register a video quality settings callback which will be called when
|
||||
// frame rate/dimensions need to be updated for video quality optimization
|
||||
//
|
||||
// Input:
|
||||
// - videoQMSettings : The callback object to register.
|
||||
//
|
||||
// Return value : VCM_OK, on success.
|
||||
// < 0, on error
|
||||
virtual int32_t RegisterVideoQMCallback(VCMQMSettingsCallback* videoQMSettings) = 0;
|
||||
|
||||
// Register a video protection callback which will be called to deliver
|
||||
// the requested FEC rate and NACK status (on/off).
|
||||
//
|
||||
|
Reference in New Issue
Block a user