Builder

class Builder : ProguardKeep(source)

Builder class for MediaStream.

Provides a fluent API to set various properties for the MediaStream and then build it.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Constructs the MediaStream based on the provided properties.

Link copied to clipboard
fun data(@ObjCName(name = "_") data: ByteArray): MediaStream.Builder

The audio or video data of the MediaStream as ByteArray

Link copied to clipboard
Link copied to clipboard
fun mimeType(@ObjCName(name = "_") mimeType: String): MediaStream.Builder