Class: RemoteHost
Defined in: remote.ts:249
The desktop's endpoint: turns wire intent into strokes on the real surface and ferries signaling. (The bar is its own channel — D5.)
Note what it does not do: it never synthesizes pointer events. The iPad sends intent, and the host's own PencilSurface renders it through exactly the same path a local pen takes (remoteBegin / remotePoint / remoteEnd) — which is what makes the two pencils literally the same pencil. Strokes render progressively, point by point as they arrive: a viewer watching the host must see ink appear as it is drawn (D3), not materialize at pen-up.
Constructors
Constructor
new RemoteHost(
opts):RemoteHost
Defined in: remote.ts:250
Parameters
opts
Returns
RemoteHost
Methods
receive()
receive(
message):void
Defined in: remote.ts:252
Parameters
message
Returns
void
signal()
signal(
peer,data):void
Defined in: remote.ts:319
Signaling to one viewer (offers, ICE) — WebRTC is point-to-point, so it is addressed.
Parameters
peer
string
data
unknown
Returns
void