audioOnly property

FfmpegStream audioOnly

Returns a copy of this stream with just the audio stream handle.

If this stream only includes audio, then this stream is returned.

Implementation

FfmpegStream get audioOnly {
  return videoId == null ? this : FfmpegStream(audioId: audioId);
}