Play audio from CMSampleBuffer
问题 I have created a video chat app for groups in iOS. I have been searching for some ways to control the audio volume for different participant separately. I found way to mute and unmute using isPlaybackEnabled in RemoteAudioTrack , but not to control volume. I also thought if we can use it in AVAudioPlayer . I found addSink . This is what I tried from here: class Audio: NSObject, AudioSink { var a = 1 func renderSample(_ audioSample: CMSampleBuffer!) { print("audio found", a) a += 1 var