Skip to main content

Module native_media

Module native_media 

Expand description

Closed local call controls. Identity and capture authority never come from this wire.

Structs§

Input
Inventory
Whose pictures this device publishes and receives now, never an inferred participant roster.
Picture
One received picture: an encoded tilo-video/1 object of one stream.
PictureUnit
The coded picture a Picture carries.
Request
Roster
The people in one voice channel’s call.
Shown
One picture an app shows: a person’s camera or screen at one layer.
Snapshot

Enums§

Command
Issue
PictureCodec
How a picture is coded.
PictureLayer
How large a picture is received: the layer its tile asks for.
PictureSource
What a picture shows.
State

Constants§

MAX_INPUTS
MAX_PICTURE_BYTES
The largest picture one Picture carries: one encoded tilo-video/1 object.
MAX_SHOWN
Pictures one tile set may ask for at once: what a call view shows.
MAX_VOLUME_PERCENT
The loudest a participant is played (Command::SetVolume): twice as they arrive.
MAX_WIRE_BYTES
One message’s bound. A call has no participant limit; a status names each person (64 bytes) and the people whose pictures it shows (64 each), so this carries well over a thousand of them, and a Command::Pictures answer always at least one whole picture of the largest layer (MAX_PICTURE_BYTES in base64).
PICTURES_DEADLINE
Pictures are collected up to PICTURES_HOLD; past this the collection is answered without them.
PICTURES_HOLD
The longest a Command::Pictures is held before it is answered without pictures.
PICTURES_LOST
A collection unanswered this long was lost: an app gives up after the shell.
PICTURE_HEADER_BYTES
Bytes of the tilo-video/1 header in front of every coded picture.
REPLY_LOST
Nothing arrived this long after a command was sent, so the app gives it up. Past REPLY_TIMEOUT: an app never gives up on what the shell may still answer.
REPLY_TIMEOUT
The longest a command may take to be answered. A page’s shell carries the command on to its host over the relay, so its answer is a network round trip: a shorter bound answers “timed out” while the host is still working, and the app gives up on a call that was about to start.
WATCH_DEADLINE
A watch is held up to WATCH_HOLD; past this the shell’s answer is lost.
WATCH_HOLD
The longest a Command::Watch is held before it is answered unchanged.
WATCH_LOST
A watch unanswered this long was lost: an app gives up after the shell.