RtmpStreamPlatform class abstract

The HaishinKit RtmpStream platform interface

Inheritance
  • Object
  • PlatformInterface
  • RtmpStreamPlatform
Implementers

Constructors

RtmpStreamPlatform()

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

Operators

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

Static Properties

instance RtmpStreamPlatform
Sets the RtmpStreamPlatform.instance
getter/setter pair