YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.fcast.protocol.v4.V4Schema Class Reference

The numbers of the FCast v4 schema (fcast.fbs, namespace FCast.V4) that this code uses: the members of the Message union, the enums and the vtable offsets of the fields (4 for the first field of a table, 6 for the second; a union takes two: the type, then the value). More...

Collaboration diagram for de.yaacc.fcast.protocol.v4.V4Schema:
Collaboration graph

Static Public Attributes

static final int MSG_LOAD = 1
 
static final int MSG_PROGRESS_CHANGED = 2
 
static final int MSG_VOLUME_CHANGED = 3
 
static final int MSG_PLAYBACK_STATE_CHANGED = 4
 
static final int MSG_SPEED_CHANGED = 5
 
static final int MSG_SENDER_INTRODUCTION = 6
 
static final int MSG_RECEIVER_INTRODUCTION = 7
 
static final int MSG_STOP_PLAYBACK = 8
 
static final int MSG_TRACKS_AVAILABLE = 13
 
static final int MSG_CHANGE_TRACK = 14
 
static final int MSG_ADD_SUBTITLE_SOURCE = 16
 
static final int MSG_SET_PROGRESS_UPDATE_INTERVAL = 17
 
static final int MSG_ERROR = 23
 
static final int STATE_IDLE = 0
 
static final int STATE_BUFFERING = 1
 
static final int STATE_PLAYING = 2
 
static final int STATE_PAUSED = 3
 
static final int STATE_ENDED = 4
 
static final int TRACK_VIDEO = 0
 
static final int TRACK_AUDIO = 1
 
static final int TRACK_SUBTITLE = 2
 
static final int SOURCE_SINGLE = 1
 
static final int SOURCE_QUEUE = 2
 
static final int TRACK_META_VIDEO = 1
 
static final int TRACK_META_AUDIO = 2
 
static final int TRACK_META_SUBTITLE = 3
 
static final String[] ERROR_KINDS
 
static final int PACKET_PAYLOAD_TYPE = 4
 
static final int PACKET_PAYLOAD = 6
 
static final int LOAD_SOURCE_TYPE = 4
 
static final int LOAD_SOURCE = 6
 
static final int ITEM_CONTAINER = 4
 
static final int ITEM_SOURCE_URL = 6
 
static final int ITEM_START_TIME = 8
 
static final int ITEM_VOLUME = 10
 
static final int ITEM_SPEED = 12
 
static final int ITEM_HEADERS = 14
 
static final int ITEM_TITLE = 16
 
static final int ITEM_THUMBNAIL_URL = 18
 
static final int QUEUE_ITEMS = 4
 
static final int QUEUE_START_INDEX = 6
 
static final int QUEUE_ITEM_MEDIA_ITEM = 4
 
static final int PROGRESS_POSITION = 4
 
static final int PROGRESS_DURATION = 6
 
static final int VOLUME_VOLUME = 4
 
static final int STATE_STATE = 4
 
static final int SPEED_SPEED = 4
 
static final int SENDER_DEVICE_INFO = 4
 
static final int RECEIVER_DEVICE_INFO = 4
 
static final int RECEIVER_CAPABILITIES = 6
 
static final int DEVICE_DISPLAY_NAME = 4
 
static final int DEVICE_APP_NAME = 6
 
static final int DEVICE_APP_VERSION = 8
 
static final int ERROR_KIND = 4
 
static final int ERROR_PACKET_NUM = 6
 
static final int CAPS_MEDIA = 4
 
static final int CAPS_DISPLAY = 6
 
static final int CAPS_AUDIO = 8
 
static final int MEDIA_PROTOCOLS = 4
 
static final int MEDIA_CONTAINERS = 6
 
static final int MEDIA_VIDEO_FORMATS = 8
 
static final int MEDIA_AUDIO_FORMATS = 10
 
static final int MEDIA_SUBTITLE_FORMATS = 12
 
static final int MEDIA_HDR_FORMATS = 14
 
static final int MEDIA_IMAGE_FORMATS = 16
 
static final int MEDIA_EXTERNAL_SUBTITLES = 18
 
static final int MEDIA_MIRRORING = 20
 
static final int AUDIO_VOLUME_STEP = 4
 
static final int DISPLAY_RESOLUTION = 4
 
static final int TRACKS_TRACKS = 4
 
static final int TRACK_ID = 4
 
static final int TRACK_ISO_639 = 6
 
static final int TRACK_TITLE = 8
 
static final int TRACK_METADATA_TYPE = 10
 
static final int CHANGE_TRACK_ID = 4
 
static final int CHANGE_TRACK_TYPE = 6
 
static final int SUBTITLE_URL = 4
 
static final int SUBTITLE_SELECT = 6
 
static final int SUBTITLE_NAME = 8
 
static final int INTERVAL_INTERVAL = 4
 

Detailed Description

The numbers of the FCast v4 schema (fcast.fbs, namespace FCast.V4) that this code uses: the members of the Message union, the enums and the vtable offsets of the fields (4 for the first field of a table, 6 for the second; a union takes two: the type, then the value).

Taken from the schema and cross-checked against the VT_* constants of the reference implementation's generated code (docs/tech.md, "FCast v4").

Member Data Documentation

◆ ERROR_KINDS

final String [] de.yaacc.fcast.protocol.v4.V4Schema.ERROR_KINDS
static
Initial value:
= {"InvalidOpcode", "ResourceNotFound", "SeekOutOfRange", "VolumeOutOfRange", "RateOutOfRange",
"UnsupportedFormat", "MalformedBody", "InvalidState", "QueuePositionOutOfRange", "QueueRemovePlayingItem", "QueueFull",
"InvalidPayloadType", "Internal"}

The documentation for this class was generated from the following file: