stopAudioStreaming()
Stops the audio session and releases all associated resources.
func stopAudioStreaming()
See also
Audio streaming
func startAudioStreaming (microphone: Microphone, bitrate: Int, sampleRate: Int, channelCount: AudioChannel, onAudioData: (_ sampleBuffer: CMSampleBuffer) -> Void, onStreamingEvent: (_ event: StreamingEvent) -> Void) async throws
Starts streaming audio using the specified settings.
func isAudioStreaming () -> Bool
Checks if there is an ongoing audio session.
Enumerations
enum StreamingEvent
This defines the lifecycle state of a media stream.