IVideoStream
Interface that represents local and remote video streams. It may be used to add or remove video renderers.
Methods
AddRenderer
void
AddRenderer(RawImage
target)
Add a new video renderer to video stream.
Parameters
target:
RawImage
Target to apply the video stream texture and shader.
Returns
type:
void
AddRenderer
void
AddRenderer(Material
target)
Add a new video renderer to video stream.
Parameters
target:
Material
Target to apply the video stream texture and shader.
Returns
type:
void
RemoveRenderer
void
RemoveRenderer(UnityEngine.Object
target)
Remove a previously added video renderer.
Parameters
target:
UnityEngine.Object
<see cref="!:RawImage"></see> or <see cref="!:Material"></see>
Returns
type:
void
Props
Height
int
Height { get; }
Video frame height.
Returns
type:
int
Rotation
int
Rotation { get; }
Video frame rotation.
Returns
type:
int
StreamId
string
StreamId { get; }
The identifier for the video stream.
Returns
type:
string
Width
int
Width { get; }
Video frame width.
Returns
type:
int