VideoStream
Inherits: Resource < RefCounted < Object
Inherited by: VideoStreamTheora
Description
Section titled “Description”Base resource for video streams.
Base resource type for all video streams. Classes that derive from VideoStream can all be used as resource types to play back videos in VideoStreamPlayer.
Properties
Section titled “Properties”| Type | Name | Default |
|---|---|---|
| String | file |
"" |
Methods
Section titled “Methods”| Returns | Method |
|---|---|
| VideoStreamPlayback | _instantiate_playback() virtual required |
Property descriptions
Section titled “Property descriptions”file
String file = ""
The video file path or URI that this VideoStream resource handles.
For VideoStreamTheora, this filename should be an Ogg Theora video file with the .ogv extension.
Method descriptions
Section titled “Method descriptions”_instantiate_playback
VideoStreamPlayback _instantiate_playback() virtual required
Called when the video starts playing, to initialize and return a subclass of VideoStreamPlayback.
