next()
Retruns the next piece of media data.
Declaration
nonisolated(nonsending) func next() async throws -> Payload?Return Value
Returns the next piece of media data with the specified Payload type. If no more media data is available, this method returns nil.