RtmpStream class

Inheritance

Properties

audioSettings AudioSettings
Specifies the audio codec properties.
getter/setter pairoverride-setter
eventChannel EventChannel
no setter
frameRate int
Gets the frameRate.
getter/setter pairoverride
hashCode int
The hash code for this object.
no setterinherited
memory int?
The memory address.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenSettings ScreenSettings
Specifies the screen properties.
getter/setter pairoverride-setter
sessionPreset AVCaptureSessionPreset
Specifies the sessionPreset for iOS.
getter/setter pairoverride-setter
videoSettings VideoSettings
Specifies the video codec properties.
getter/setter pairoverride-setter

Methods

attachAudio(AudioSource? audio) Future<void>
Attaches an AudioSource to this stream.
override
attachVideo(VideoSource? video) Future<void>
Attaches a VideoSource to this stream.
override
close() Future<void>
Stops playing or publishing and makes available other uses.
override
dispose() Future<void>
Disposes the NetStream platform instance.
override
getHasAudio() Future<bool?>
Gets the hasAudio property.
override
getHasVideo() Future<bool?>
Gets the hasVideo property.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
play(String name) Future<void>
Plays a live stream from RTMPServer.
publish(String name) Future<void>
Sends streaming audio, video and data message from client.
registerTexture(Map<String, dynamic> params) Future<int?>
Register a texture to this stream.
override
setHasAudio(bool value) Future<void>
Sets the hasAudio property.
override
setHasVideo(bool value) Future<void>
Sets the hasVideo property.
override
toString() String
A string representation of this object.
inherited
unregisterTexture(Map<String, dynamic> params) Future<void>
override
updateTextureSize(Map<String, dynamic> params) Future<int?>
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

create(RtmpConnection connection) Future<RtmpStream>