Encodes a single frame asynchronously.
Task EncodeFrameAsync(CapturedFrame frame, CancellationToken cancellationToken = default(CancellationToken))
The frame to encode.
Cancellation token.