audioOnly property

FFMpegStream get 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);
}