sendVideoPacket
Send ONE webcam video fragment, fanned out to nearby actors as a ClientVideoNotification (Buddy v0.25.0). Requires a bearer game token and the use_video_chat runtime permission at app AND grid level -- without it the game server responds asynchronously with a GenericErrorResponse (errorCode UNAUTHORIZED). A datagram carries at most ~1117 bytes of videoData, so an encoded frame is split by the SDK into fragments (6-byte header: version, codec, frameId, fragIndex, fragCount; at most 16 per frame) and reassembled by receivers; this is a mutation PER FRAGMENT and sustained video belongs on the binary realtime relay. Every receiver in range pays the egress bytes: keep distance small and frames few. Opens a UDP proxy session automatically if none exists. Returns Boolean! that is true only when the datagram was ACCEPTED FOR SENDING -- NOT that it was delivered; the sender receives no echo, only errors (GenericErrorResponse, correlated by sequenceNumber) on udpNotifications.
sendVideoPacket(
input: ClientVideoPacketInput!
): Boolean!
Arguments
sendVideoPacket.input ● ClientVideoPacketInput! non-null input
The video fragment to send: target appId, chunk coordinates, 32-byte source uuid, base64 videoData (fragment header + frame slice), and optional distance/decayRate/sequenceNumber. See ClientVideoPacketInput.
Type
Boolean scalar
The Boolean scalar type represents true or false.