Class StreamLinkAssigner
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
altStreamLinks
protected VRCUrl[] altStreamLinks
Field Value
- VRCUrl[]
altStreamUrlTemplate
protected string altStreamUrlTemplate
Field Value
autoInterrupt
protected bool autoInterrupt
Field Value
autoPlay
protected bool autoPlay
Field Value
core
protected Core core
Field Value
currentUserOnly
protected bool currentUserOnly
Field Value
frontendHandler
protected FrontendHandler frontendHandler
Field Value
playerIndex
protected int playerIndex
Field Value
streamIndex
protected int streamIndex
Field Value
streamKeyTemplate
protected string streamKeyTemplate
Field Value
streamKeys
protected string[] streamKeys
Field Value
- string[]
streamLinks
protected VRCUrl[] streamLinks
Field Value
- VRCUrl[]
streamUrlTemplate
protected string streamUrlTemplate
Field Value
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()