amazon-kinesis-video-streams-webrtc-sdk-ios icon indicating copy to clipboard operation
amazon-kinesis-video-streams-webrtc-sdk-ios copied to clipboard

How to get audio track?

Open meroger opened this issue 11 months ago • 2 comments

I can easily get video frames to do screenshots, but I can't get audio frames to make video to save locally. How do I get the audio track?

meroger avatar Mar 04 '24 09:03 meroger

@meroger ,

Can you include more details on what the issue is? We already support adding audio track here: https://github.com/awslabs/amazon-kinesis-video-streams-webrtc-sdk-ios/blob/master/Swift/KVSiOSApp/WebRTCClient.swift#L233-L238

disa6302 avatar Mar 04 '24 17:03 disa6302

WX20240305-084107 Here's how I get the video frame, inheriting RTCMTLVideoView and getting the video frame from the parent method. But how do I get audio frames?

meroger avatar Mar 05 '24 00:03 meroger

Unfortunately the API for that is not exposed by libwebrtc here

niyatim23 avatar Jul 30 '24 18:07 niyatim23