TelegramMessenger / Telegram-iOS

Telegram-iOS
6.34k stars 1.66k forks source link

Webrtc recording remote call. #1019

Closed azamjalali closed 1 year ago

azamjalali commented 1 year ago

Hi guys, i want to record voice and video call in telgram-ios, I got success in recording local video using AVCaputureSession. Now, in order record remote video, first I need to get remote video frames/buffer from RTCVideoRenderer(i know one method like renderFrame( RTCVideoFrame *)frame in this class, which renders frame, but how to get that frame). Does everyone help in this, how can I get frames from renderer?

Note: In android, they provided VideoSink method so we can get the frames, but no such class in iOS.

ali-fareed commented 1 year ago

Group call recording functionality is available out of the box.

azamjalali commented 1 year ago

Hi ali, where is group call recording code? Telegram-ios ui doesn't have call recording option!!!

ali-fareed commented 1 year ago

A group admin can access the call recording functionality via the three-dot option menu:

image
azamjalali commented 1 year ago

Thanks alot , i finally find it.