Methods

(static) abandonedLoadActionFor(liveStream) → {string}

What the view's teardown does with its load, from the stage the load recorded.

Parameters:
NameTypeDescription
liveStreamdynamic

LoadVideoContentTask.liveStream: { stage, id }, or invalid

Returns:

an AbandonedLoadAction

Type: 
string

(static) liveStreamStageOf(liveStream) → {string}

The recorded stage, NONE when nothing is recorded.

Parameters:
NameTypeDescription
liveStreamdynamic

LoadVideoContentTask.liveStream: { stage, id }, or invalid

Returns:

a LiveStreamStage

Type: 
string

(static) openLiveStreamId(liveStream) → {string}

The stream a load holds and nobody else will release, or "" when there is none.

Parameters:
NameTypeDescription
liveStreamdynamic

LoadVideoContentTask.liveStream: { stage, id }, or invalid

Returns:

the LiveStreamId to close, or ""

Type: 
string