MediaStream

@Serializable
@SerialName(value = "MediaStream")
data class MediaStream : ProguardKeep(source)

Represents a media stream containing the stream recording, kind and direction.

Since

1.0.7

Author

Dominik Ridjic

Throws

Types

Link copied to clipboard
class Builder : ProguardKeep

Builder class for MediaStream.

Properties

Link copied to clipboard
@Transient
val data: ByteArray

The media stream raw data.

Link copied to clipboard
@SerialName(value = "direction")
val direction: MediaStreamDirection

the media stream, either outgoing or incoming

Link copied to clipboard
@SerialName(value = "file_name")
val fileName: String

the file name generated for this media stream

Link copied to clipboard
@SerialName(value = "mime_type")
val mimeType: MimeType

the media stream mime-type, for example, "audio/webm" or "audio/webm; codecs=opus"

Link copied to clipboard
@SerialName(value = "timestamp")
val timestamp: Double

The timestamp when the message was created or received.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int