Procedure ShapeFrustumVideoControl

Parent Previous Next

Description: For a shape frustum created with the ShapeFrustum procedure, a video stream can be defined. To initialize the video frustum, this procedure must be called with valid VideoURL and UseVideoPayload fields. To control the video playback, this procedure can later be used with a valid PlayerControl field.

Struct:

Field Name

O

Type

Description

ID


string

Identity of the frustum.

VideoURL

X

string

The URL of the video stream to initialize the frustum video. Use prefix “file://“ for local files.

UseVideoPayload

X

boolean

A flag to initialize the frustum video. Set true to use video payload for position and orientation. This only works if position and orientation metadata are included in the stream.

PlayerControl

X

int (i4)

0 = play / 1 = pause / 2 = stop / 3 = seek.

PlayerSeekPos

(X)

int (i4)

Set video position in milliseconds if PlayerControl mode is seek.This parameter is required if mode is seek.