Stream class abstract
The Stream class is the foundation of a RTMPStream.
- Implementers
Constructors
- Stream()
Properties
- audioSettings ← AudioSettings
-
Specifies the audio codec properties.
no getter
- frameRate ↔ int
-
Gets the frameRate.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- memory → int?
-
The memory address.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- screenSettings ← ScreenSettings
-
Specifies the screen properties.
no getter
- sessionPreset ← AVCaptureSessionPreset
-
Specifies the sessionPreset for iOS.
no getter
- videoSettings ← VideoSettings
-
Specifies the video codec properties.
no getter
Methods
-
attachAudio(
AudioSource? audio) → Future< void> - Attaches an AudioSource to this stream.
-
attachVideo(
VideoSource? video) → Future< void> - Attaches a VideoSource to this stream.
-
close(
) → Future< void> - Stops playing or publishing and makes available other uses.
-
dispose(
) → Future< void> - Disposes the NetStream platform instance.
-
getHasAudio(
) → Future< bool?> - Gets the hasAudio property.
-
getHasVideo(
) → Future< bool?> - Gets the hasVideo property.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerTexture(
Map< String, dynamic> params) → Future<int?> - Register a texture to this stream.
-
setHasAudio(
bool value) → Future< void> - Sets the hasAudio property.
-
setHasVideo(
bool value) → Future< void> - Sets the hasVideo property.
-
toString(
) → String -
A string representation of this object.
inherited
-
unregisterTexture(
Map< String, dynamic> params) → Future<void> -
updateTextureSize(
Map< String, dynamic> params) → Future<int?>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited