|
YAACC - UPNP Client and Server
|
Writes the Flatbuf bodies (a serialized Packet) that a v4 sender sends.
More...

Static Public Member Functions | |
| static byte[] | senderIntroduction (String displayName, String appName, String appVersion) |
SenderIntroduction: sent once, right after the TLS handshake. | |
| static byte[] | load (String container, String url, Double startSeconds, Double volume, Double speed, String title, String thumbnailUrl) |
Load of one item. | |
| static byte[] | progress (double positionSeconds, double durationSeconds) |
ProgressChanged: a sender seeks with it (the duration is ignored by the receiver). | |
| static byte[] | volume (double volume) |
| static byte[] | speed (double speed) |
| static byte[] | state (int state) |
PlaybackStateChanged: Paused pauses, Playing resumes. | |
| static byte[] | stop () |
| static byte[] | changeTrack (Long id, int trackType) |
ChangeTrack: select a track of a type; id null switches that type off (subtitles). | |
| static byte[] | addSubtitleSource (String url, boolean select, String name) |
AddSubtitleSource: a subtitle file the receiver fetches. | |
| static byte[] | progressInterval (double seconds) |
SetProgressUpdateInterval. | |
Writes the Flatbuf bodies (a serialized Packet) that a v4 sender sends.
Hand-written on top of the FlatBuffers runtime (decision D23); the buffers are checked against the reference implementation's reader (docs/tech.md). A string is written as it is; the caller limits the sizes (the packet limit of v4 is 512 KiB). Pure.
|
static |
Load of one item.
Optional fields are left out when null.
| startSeconds | where to start (not negative), volume 0 to 1, speed |
Referenced by de.yaacc.fcast.protocol.v4.V4Writer.load().

