diff options
Diffstat (limited to 'call/call.h')
-rw-r--r-- | call/call.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/call/call.h b/call/call.h index 37d784f726..f6388c3c78 100644 --- a/call/call.h +++ b/call/call.h @@ -84,11 +84,14 @@ class Call { static Call* Create(const Call::Config& config); static Call* Create(const Call::Config& config, - rtc::scoped_refptr<SharedModuleThread> call_thread); - static Call* Create(const Call::Config& config, Clock* clock, rtc::scoped_refptr<SharedModuleThread> call_thread, std::unique_ptr<ProcessThread> pacer_thread); + static Call* Create(const Call::Config& config, + Clock* clock, + rtc::scoped_refptr<SharedModuleThread> call_thread, + std::unique_ptr<RtpTransportControllerSendInterface> + transportControllerSend); virtual AudioSendStream* CreateAudioSendStream( const AudioSendStream::Config& config) = 0; @@ -152,6 +155,14 @@ class Call { virtual void OnAudioTransportOverheadChanged( int transport_overhead_per_packet) = 0; + // Called when a receive stream's local ssrc has changed and association with + // send streams needs to be updated. + virtual void OnLocalSsrcUpdated(AudioReceiveStream& stream, + uint32_t local_ssrc) = 0; + + virtual void OnUpdateSyncGroup(AudioReceiveStream& stream, + const std::string& sync_group) = 0; + virtual void OnSentPacket(const rtc::SentPacket& sent_packet) = 0; virtual void SetClientBitratePreferences( |