boyan01 / lychee_player Goto Github PK
View Code? Open in Web Editor NEWA simple audio player plugin for flutter.
License: GNU Affero General Public License v3.0
A simple audio player plugin for flutter.
License: GNU Affero General Public License v3.0
FFmpegDemuxer
负责解复用 Datasource 中的 bytestream, 分别提供 Audio
和 Video
的 Stream
.AudioRenderer
/VideoRenderer
取得 Stream
后,从 Stream
中读取 compressed audio/video buffer, 提交给 AudioDecoder
/ VideoDecoder
解码。Renderer
取得解码后的 Frame
,并送往对应的 AudioDevice
Textures
进行最后的渲染。MessageLoop
来管理和协同线程任务。使用KernelBase.dll 替换兼容
HMODULE hKernel32 = GetModuleHandleA("KernelBase.dll");
lychee_player/windows/lychee_player_plugin.cpp
Lines 43 to 44 in 51bbeb5
Windows 在 UnregisterTexture TextureId 时会出现崩溃。
暂无解决方案,临时注释处理。
How to add Ffmpeg to your iOS project.
I/flutter ( 1965): on method call: onPlaybackEvent args = {position: 47018, updateTime: 65729862, playerId: isolates/1450889906147679_1, event: 3}
I/flutter ( 1965): NoSuchMethodError: The method '>' was called on null.
I/flutter ( 1965): Receiver: null
I/flutter ( 1965): Tried calling: >(0)
I/flutter ( 1965): #0 Object.noSuchMethod (dart:core-patch/object_patch.dart:51:5)
I/flutter ( 1965): #1 _RemotePlayerManager._updatePlayerState (package:audio_player/src/audio_player.dart:184:22)
I/flutter ( 1965): #2 _RemotePlayerManager._handleMessage (package:audio_player/src/audio_player.dart:158:7)
I/flutter ( 1965): #3 new _RemotePlayerManager.<anonymous closure> (package:audio_player/src/audio_player.dart:138:14)
I/flutter ( 1965): #4 MethodChannel._handleAsMethodCall (package:flutter/src/services/platform_channel.dart:430:55)
I/flutter ( 1965): #5 MethodChannel.setMethodCallHandler.<anonymous closure> (package:flutter/src/services/platform_channel.dart:383:34)
I/flutter ( 1965): #6 _DefaultBinaryMessenger.handlePlatformMessage (package:flutter/src/services/binding.dart:283:33)
I/flutter ( 1965): #7 _invoke3.<anonymous closure> (dart:ui/hooks.dart:280:15)
I/flutter ( 1965): #11 _invoke3 (dart:ui/hooks.dart:279:10)
I/flutter ( 1965): #12 _dispatchPlatformMessage (dart:ui/hooks.dart:154:5)
Please publish this package on the official pub.dev repository.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.