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
Extension Methods

Remarks

You may extend this class

Fields

[LocalizedLabelAttribute]
protected VRCUrl[] altStreamLinks

Field Value

VRCUrl[]

altStreamUrlTemplate

[LocalizedLabelAttribute]
protected string altStreamUrlTemplate

Field Value

string

autoInterrupt

[LocalizedLabelAttribute]
protected bool autoInterrupt

Field Value

bool

autoPlay

[LocalizedLabelAttribute]
protected bool autoPlay

Field Value

bool

core

[LocalizedLabelAttribute]
[ResolveAttribute]
[LocatableAttribute]
protected Core core

Field Value

Core

currentUserOnly

[LocalizedLabelAttribute]
protected bool currentUserOnly

Field Value

bool

frontendHandler

[LocalizedLabelAttribute]
[LocatableAttribute]
protected FrontendHandler frontendHandler

Field Value

FrontendHandler

playerIndex

[LocalizedLabelAttribute]
protected int playerIndex

Field Value

int

streamIndex

protected int streamIndex

Field Value

int

streamKeyTemplate

[LocalizedLabelAttribute]
protected string streamKeyTemplate

Field Value

string

streamKeys

[LocalizedLabelAttribute]
protected string[] streamKeys

Field Value

string[]
[LocalizedLabelAttribute]
protected VRCUrl[] streamLinks

Field Value

VRCUrl[]

streamUrlTemplate

[LocalizedLabelAttribute]
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()