V2TXLivePlayerImpl class
- Inheritance
-
- Object
- V2TXLivePlayer
- V2TXLivePlayerImpl
Constructors
- V2TXLivePlayerImpl.new()
- V2TXLivePlayerImpl.identifier(String identifier)
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
-
addListener(
V2TXLivePlayerObserver observer) → void -
Add a player callback
override
-
destroy(
) → void -
Destroy the instance
override
-
enableObserveVideoFrame(
bool enable, int pixelFormat, int bufferType) → Future< V2TXLiveCode> -
Enable/disable the listening callback for video frames
override
-
enablePictureInPicture(
bool enable) → Future< V2TXLiveCode> -
Whether to turn on picture-in-picture mode
override
-
enableReceiveSeiMessage(
bool enable, int payloadType) → Future< V2TXLiveCode> -
Turn on receiving SEI messages
override
-
enableVolumeEvaluation(
int intervalMs) → Future< V2TXLiveCode> -
Enable playback volume level prompts
override
-
getTextureId(
int width, int height) → Future< int> -
override
-
isPlaying(
) → Future< V2TXLiveCode> -
Whether the player is playing or not
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pauseAudio(
) → Future< V2TXLiveCode> -
Pause the player's audio stream
override
-
pauseVideo(
) → Future< V2TXLiveCode> -
Pause the player's video stream
override
-
removeListener(
V2TXLivePlayerObserver observer) → void -
remove a player callback
override
-
resumeAudio(
) → Future< V2TXLiveCode> -
Resume the player's audio stream
override
-
resumeVideo(
) → Future< V2TXLiveCode> -
Restore the player's video stream
override
-
setCacheParams(
double minTime, double maxTime) → Future< V2TXLiveCode> -
Set the minimum and maximum time (in seconds) for the player cache to automatically adjust
override
-
setPlayoutVolume(
int volume) → Future< V2TXLiveCode> -
Set the player volume
override
-
setProperty(
String key, Object value) → Future< V2TXLiveCode> -
Call the high-level API interface of V2TXLivePlayer
override
-
setRenderFillMode(
V2TXLiveFillMode mode) → Future< V2TXLiveCode> -
Set the fill mode of the picture
override
-
setRenderRotation(
V2TXLiveRotation rotation) → Future< V2TXLiveCode> -
Sets the rotation angle of the local rendered picture
override
-
setRenderViewID(
int viewID) → Future< V2TXLiveCode> -
Set the ID of the rendered view
override
-
showDebugView(
bool isShow) → Future< void> -
Display the dashboard
override
-
snapshot(
) → Future< V2TXLiveCode> -
Capture the video during playback
override
-
startLivePlay(
String url) → Future< V2TXLiveCode> -
Start playing the audio and video stream
override
-
stopPlay(
) → Future< V2TXLiveCode> -
Stop playing the audio and video stream
override
-
switchStream(
String url) → Future< V2TXLiveCode> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
create(
) → Future< V2TXLivePlayerImpl> -
Create an instance
override
-
createByIdentifier(
String identifier) → Future< V2TXLivePlayerImpl> -
override