isAudioStreaming()
Checks if there is an ongoing audio session.
func isAudioStreaming() -> Bool
Return value
true if audio streaming is active; otherwise, false .
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 stopAudioStreaming ()
Stops the audio session and releases all associated resources.