Table of Contents

Class StreamLinkAssigner

Namespace
JLChnToZ.VRC.VVMW

Automatically assigns unique stream links for each event, performer, or instance.

public class StreamLinkAssigner : VizVidBehaviour, IVizVidCompoonent
Inheritance
StreamLinkAssigner
Implements

Remarks

You may extend this class

Fields

protected VRCUrl[] altStreamLinks

Field Value

VRCUrl[]

altStreamUrlTemplate

protected string altStreamUrlTemplate

Field Value

string

autoInterrupt

protected bool autoInterrupt

Field Value

bool

autoPlay

protected bool autoPlay

Field Value

bool

core

protected Core core

Field Value

Core

currentUserOnly

protected bool currentUserOnly

Field Value

bool

frontendHandler

protected FrontendHandler frontendHandler

Field Value

FrontendHandler

playerIndex

protected int playerIndex

Field Value

int

streamIndex

protected int streamIndex

Field Value

int

streamKeyTemplate

protected string streamKeyTemplate

Field Value

string

streamKeys

protected string[] streamKeys

Field Value

string[]
protected VRCUrl[] streamLinks

Field Value

VRCUrl[]

streamUrlTemplate

protected string streamUrlTemplate

Field Value

string

Methods

OnDeserialization()

public override void OnDeserialization()

OnPreSerialization()

public override void OnPreSerialization()

RegenerateCore()

The actual logic to assign the pool index of the stream key.

protected virtual void RegenerateCore()

Remarks

You may override this method to implement your own logic.

Start()

protected virtual void Start()

_Play()

Send the assigned stream key to the player.

public void _Play()

_Regenerate()

Reassign the stream key from the pool.

public void _Regenerate()