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