Table of Contents

Method GetOpusAudioDurationInSeconds

Namespace
DisCatSharp.Experimental
Assembly
DisCatSharp.Experimental.dll

GetOpusAudioDurationInSeconds(Stream)

Gets the audio duration in seconds.

public static (Stream Stream, float DurationSeconds) GetOpusAudioDurationInSeconds(this Stream opusStream)

Parameters

opusStream Stream

The audio stream.

Returns

(Stream Stream, float DurationSeconds)

The duration in seconds.