Class PlaylistMediaPlayer
- Namespace
- RenderHeads.Media.AVProVideo
- Assembly
- AVProVideo.Runtime.dll
This is a BETA component
[AddComponentMenu("AVPro Video/Playlist Media Player", -80)]
[HelpURL("https://www.renderheads.com/products/avpro-video/")]
public class PlaylistMediaPlayer : MediaPlayer, ISerializationCallbackReceiver, ITextureProducer
- Inheritance
-
objectObjectComponentBehaviourMonoBehaviourPlaylistMediaPlayer
- Implements
-
ISerializationCallbackReceiver
- Inherited Members
Properties
| Name | Description |
|---|---|
| AudioMuted | |
| AudioVolume | |
| AutoCloseVideo | Closes videos that aren't playing. This will save memory but adds extra overhead |
| AutoProgress | Enable the playlist to progress to the next item automatically, or wait for manual trigger via scripting |
| Control | Returns the IMediaControl interface for the MediaPlayer that is playing the current active item in the playlist (returned by CurrentPlayer property). This will change during each transition. |
| CurrentPlayer | |
| DefaultTransition | The default transition to use if the transition is not overridden in the MediaItem |
| DefaultTransitionDuration | The default duration the transition will take (in seconds) if the transition is not overridden in the MediaItem |
| DefaultTransitionEasing | The default easing the transition will use if the transition is not overridden in the MediaItem |
| Info | Returns the IMediaInfo interface for the MediaPlayer that is playing the current active item in the playlist (returned by CurrentPlayer property). This will change during each transition. |
| LoopMode | None: Do not loop the playlist when the end is reached. |
| NextPlayer | |
| Playlist | |
| PlaylistIndex | |
| PlaylistItem | |
| TextureProducer |
Methods
| Name | Description |
|---|---|
| Awake() | |
| CanJumpToItem(int) | |
| GetAffineTransform() | The affine transform of the texture as an array of six floats: [a, b, c, d, tx, ty]. |
| GetCompatibleRenderTextureFormat(GetCompatibleRenderTextureFormatOptions, int) | Get a render texture format that is compatible with the textures internal format |
| GetTexture(int) | Returns the Unity texture containing the current frame image. The texture pointer will return null while the video is loading This texture usually remains the same for the duration of the video. There are cases when this texture can change, for instance: if the graphics device is recreated, a new video is loaded, or if an adaptive stream (eg HLS) is used and it switches video streams. |
| GetTextureAlphaPacking() | Returns the type of packing used for alpha content |
| GetTextureCount() | Gets the number of textures produced by the media player. |
| GetTextureFrameCount() | Returns a count of how many times the texture has been updated |
| GetTextureMatrix() | The full 4x4 transform of the texture |
| GetTexturePixelAspectRatio() | Returns the DAR/SAR ratio |
| GetTextureStereoPacking() | Returns the type of packing used for stereo content |
| GetTextureTimeStamp() | Returns the presentation time stamp of the current texture |
| GetTextureTransparency() | Returns the whether the texture has transparency |
| GetYpCbCrTransform() | Returns the current transformation required to convert from YpCbCr to RGB colorspaces. |
| IsPaused() | |
| JumpToItem(int) | |
| NextItem() | |
| OnDestroy() | |
| OnMediaPlayerEvent(MediaPlayer, EventType, ErrorCode) | |
| OpenVideoFile(MediaItem) | |
| Pause() | |
| Play() | |
| PrevItem() | |
| RequiresVerticalFlip() | Returns true if the image on the texture is upside-down |
| Start() | |
| Stop() | |
| SupportsTextureFrameCount() | Returns whether this platform supports counting the number of times the texture has been updated |
| Update() |