Class Guacamole.AudioChannel.Packet
Defined in: audio.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Guacamole.AudioChannel.Packet(mimetype, data)
Abstract representation of an audio packet.
|
Method Attributes | Method Name and Description |
---|---|
play(when)
Schedules this packet for playback at the given time.
|
Class Detail
Guacamole.AudioChannel.Packet(mimetype, data)
Abstract representation of an audio packet.
- Parameters:
- {String} mimetype
- The mimetype of the data contained by this packet.
- {String} data
- The base64-encoded sound data contained by this packet.
Method Detail
play(when)
Schedules this packet for playback at the given time.
- Parameters:
- {Number} when
- The time this packet should be played, in milliseconds.