File tree Expand file tree Collapse file tree 3 files changed +32
-0
lines changed Expand file tree Collapse file tree 3 files changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -63,4 +63,22 @@ int AudioDeviceGeneric::GetRecordAudioParameters(
6363}
6464#endif // WEBRTC_IOS
6565
66+ // MARK: Nicegram NCG-5828 call recording
67+ void AudioDeviceGeneric::InitNicegramCallRecording () {
68+ RTC_LOG_F (LS_ERROR) << " Not supported on this platform" ;
69+ }
70+
71+ void AudioDeviceGeneric::SetRecordOutputFolder (const std::string& path) {
72+ RTC_LOG_F (LS_ERROR) << " Not supported on this platform" ;
73+ }
74+
75+ void AudioDeviceGeneric::StartNicegramRecording () {
76+ RTC_LOG_F (LS_ERROR) << " Not supported on this platform" ;
77+ }
78+
79+ void AudioDeviceGeneric::StopNicegramRecording () {
80+ RTC_LOG_F (LS_ERROR) << " Not supported on this platform" ;
81+ }
82+ //
83+
6684} // namespace webrtc
Original file line number Diff line number Diff line change @@ -135,6 +135,13 @@ class AudioDeviceGeneric {
135135 virtual int GetRecordAudioParameters (AudioParameters* params) const ;
136136#endif // WEBRTC_IOS
137137
138+ // MARK: Nicegram NCG-5828 call recording
139+ virtual void InitNicegramCallRecording ();
140+ virtual void SetRecordOutputFolder (const std::string& path);
141+ virtual void StartNicegramRecording ();
142+ virtual void StopNicegramRecording ();
143+ //
144+
138145 virtual void AttachAudioBuffer (AudioDeviceBuffer* audioBuffer) = 0;
139146
140147 virtual ~AudioDeviceGeneric () {}
Original file line number Diff line number Diff line change @@ -171,6 +171,13 @@ class AudioDeviceModule : public webrtc::RefCountInterface {
171171 virtual int GetRecordAudioParameters (AudioParameters* params) const = 0;
172172#endif // WEBRTC_IOS
173173
174+ // MARK: Nicegram NCG-5828 call recording
175+ virtual void InitNicegramCallRecording () {}
176+ virtual void SetRecordOutputFolder (const std::string& path) {}
177+ virtual void StartNicegramRecording () {}
178+ virtual void StopNicegramRecording () {}
179+ //
180+
174181 protected:
175182 ~AudioDeviceModule () override {}
176183};
You can’t perform that action at this time.
0 commit comments