MethodChannelRtmpStream class

The method channel implementation of RtmpStreamPlatform

Inheritance

Constructors

MethodChannelRtmpStream()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

attachAudio(Map<String, dynamic> params) Future<void>
Attaches an audio source.
override
attachVideo(Map<String, dynamic> params) Future<void>
Attaches a video source.
override
close(Map<String, dynamic> params) Future<void>
Closes the connection.
override
dispose(Map<String, dynamic> params) Future<void>
Disposes the RtmpStream 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(Map<String, dynamic> params) Future<void>
Plays a live source from a RTMP server.
override
publish(Map<String, dynamic> params) Future<void>
Publishes a live source.
override
registerTexture(Map<String, dynamic> params) Future<int?>
Register a texture with FlutterTexture.
override
setAudioSettings(Map<String, dynamic> params) Future<void>
Sets the audio codec settings.
override
setFrameRate(Map<String, dynamic> params) Future<void>
Sets the frameRate property.
override
setHasAudio(Map<String, dynamic> params) Future<void>
Sets the hasAudio property.
override
setHasVideo(Map<String, dynamic> params) Future<void>
Sets the hasVideo property.
override
setScreenSettings(Map<String, dynamic> params) Future<void>
Sets the screen properties.
override
setSessionPreset(Map<String, dynamic> params) Future<void>
Sets the sessionPreset property.
override
setVideoSettings(Map<String, dynamic> params) Future<void>
Sets the video codec properties.
override
toString() String
A string representation of this object.
inherited
unregisterTexture(Map<String, dynamic> params) Future<void>
Unregister a texture with FlutterTexture.
override
updateTextureSize(Map<String, dynamic> params) Future<int?>
override

Operators

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