AudioStreamBegin class

Implemented types

Constructors

AudioStreamBegin({String streamId = '', String description = '', String sourceType = '', AudioCodec codec = AudioCodec.unknown, String codecDetails = '', int sampleRate = 0, int channels = 0, List<AudioShapeSet>? shapeSets, String? correlationId, bool? playbackReports})
AudioStreamBegin.fromJson(Map<String, dynamic> json)
factory
AudioStreamBegin.fromReader(TeleportObjectReader reader)
factory
AudioStreamBegin.fromTeleport(Uint8List data)
factory

Properties

channels ↔ int
getter/setter pair
codec ↔ AudioCodec
getter/setter pair
codecDetails ↔ String
getter/setter pair
correlationId ↔ String?
getter/setter pair
description ↔ String
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
playbackReports ↔ bool?
Whether the sender wants an AudioPlaybackReport from each client that plays the stream. The app asks for them on its Raw streams only. An app or client that predates this field leaves it out, and the server fills it in before relaying: true from the app, false from a client. So a client always receives it, and reports only when it is true.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sampleRate ↔ int
getter/setter pair
shapeSets ↔ List<AudioShapeSet>?
getter/setter pair
sourceType ↔ String
getter/setter pair
streamId ↔ String
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toProtocolMessage(int senderId, {ProtocolMessageOverrides? overrides}) → ProtocolMessage
Frames the message under its type's opcode and payload version. The type's default flags (unreliable for an unreliable message) are added to overrides' own.
override
toString() → String
A string representation of this object.
inherited
toTeleport() → Uint8List
writeTo(TeleportObjectWriter scope) → void

Operators

operator ==(Object other) → bool
The equality operator.
inherited