dart_vlc 0.0.9 dart_vlc: ^0.0.9 copied to clipboard
A media playback library for Dart & Flutter. Based on libVLC & libVLC++.
0.0.9 #
- Fixed multiple
Video
widgets not working after FFI migration. - Now package contains complete libVLC & libVLC++ source inside.
- No longer fetching from videoLAN & GitHub servers required.
- No more build errors for developers in China.
- Fixed
Player::setPlaylistMode
. - Fixed built-in play/pause button in Video widget.
- Added back
Media.asset
for Flutter.
0.0.8 #
- Now using FFI (instead of Platform channels).
- Better performance, being direct C <-> Dart interop with no Flutter involvement.
- Added
Equalizer
class. - Support for Dart CLI. See package
dart_vlc_ffi
. - Added
commandlineArguments
toPlayer
constructor to pass VLC commandline arguments. - BREAKING CHANGES
- Now plugin requires initialization in the
main
method, callDartVLC.initialize()
to instantiate the plugin. - Now all the methods are synchronous & no longer require
await
. Please update your code.
- Now plugin requires initialization in the
0.0.7 #
- Added
Player.setUserAgent
. - Improved & fixed issues related to play/pause button in
Video
widget. - Fixed compilation issues on arch linux.
- Fixes to device changing.
0.0.6 #
This new release of dart_vlc adds:
- Now
Player
class has sync constructor & no longer needsPlayer.create
. - Fixed memory leak errors on Windows & Linux.
- Added controls to
Video
widget. Thanks to @tomassasovsky. - Added
Record
class for recording media. Thanks to @DomingoMG. - Added
Chromecast
class. Thanks to @DomingoMG. - Fixed
Player.setPlaylistMode
on Linux. - Event streams inside
Player
no longer can benull
.
0.0.5 #
This new release of dart_vlc adds:
Broadcast
class to broadcast aMedia
.- Fix to a bug that caused
CurrentState
to not update inPlayer
.
0.0.4 #
This new release of dart_vlc adds:
Video
Widget
for showing video output from aPlayer
insideWidget
tree.Player
must be used as a controller for aVideo
.- Initialize
Player
withvideoHeight
andvideoWidth
optional parameters, if you wish to use it for video playback.
- Null-safety migration.
0.0.3 #
This new release of dart_vlc adds:
- More advanced playlist modification methods like:
add
for appending a newMedia
to thePlaylist
of thePlayer
.remove
for removing aMedia
from thePlaylist
of thePlayer
from certain index.insert
method for insertingMedia
to certain index.move
aMedia
from one index to another.
- Ability to get all playback
Device
s on machine & change.Devices.all
givesList
of allDevice
s.Player.setDevice
can be used to set a playback device for thePlayer
instance.
- Now event streams are splitted into four:
Player.currentStream
- Contains:
index
media
medias
isPlaylist
- Contains:
Player.positionStream
- Contains:
position
duration
- Contains:
Player.playbackStream
- Contains:
isPlaying
isSeekable
isCompleted
- Contains:
Player.generalStream
- Contains:
volume
rate
- Contains:
- Ability to retrieve metadata of a
Media
(either fromMedia.network
orMedia.file
).- Now you can access metadata of a
Media
by passingparse: true
for parsing the metadata. - Retrieved metadata is stored inside
Media.metas
asMap<String, String>
.
- Now you can access metadata of a
0.0.2 #
This new release of dart_vlc adds:
- Support for Flutter on Linux.
- Fixed bug that caused index to not update properly in
Playlist
, whennext
orback
or on completion ofMedia
. - Changed default
Player
volume to0.5
.
0.0.1+1 #
This new release of dart_vlc adds:
- Little left-over changes in the project documentation.
0.0.1 #
This first release of dart_vlc adds:
Media
playback from file.Media
playback from network.Media
playback from assets.play
/pause
/playOrPause
/stop
.- Multiple
Player
instances. Playlist
.next
/back
/jump
for playlists.setVolume
.setRate
.seek
.- Events.
- Automatic fetching of headers, libs & shared libraries.
- Changing VLC version from CMake.
- Event streams.
Player.currentState
index
: Index of current media inPlaylist
.medias
: List of all openedMedia
s.media
: Currently playingMedia
.isPlaylist
: Whether a singleMedia
is loaded or aPlaylist
.
Player.positionState
position
: Position of currently playing media inDuration
.duration
: Position of currently playing media inDuration
.
Player.playbackState
isPlaying
.isSeekable
.isCompleted
.
Player.generalState
volume
: Volume of currentPlayer
instance.rate
: Rate of currentPlayer
instance.