awslabs / amazon-kinesis-video-streams-webrtc-sdk-ios

iOS SDK for interfacing with the Amazon Kinesis Video Streams Signaling Service.
Apache License 2.0
66 stars 29 forks source link

How to get audio track? #86

Closed meroger closed 3 months ago

meroger commented 8 months ago

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?

disa6302 commented 8 months ago

@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

meroger commented 8 months ago

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?

niyatim23 commented 3 months ago

Unfortunately the API for that is not exposed by libwebrtc here