Comments (2)
Arbitrary Metadata.Entry
objects are not sent from MediaSession
to MediaController
, so what you're observing is expected.
@marcbaechinger might have thoughts on the best way to send time-accurate info from a session to a controller.
@thetwom Can you give some info about what these timed events that you want to send represent? It might help guide us towards a solution.
from media.
Thanks a lot for taking the time and answering my question. Good to know, that things are working as expected (even though it would have been nice for me if it worked :-).
I guess my case is rather exotic, so I don't know if I want to take your time for finding a solution. Still, I will quickly give a description:
My player is not playing regular media, but it is a metronome, which plays sounds at regular time intervals (like a "clicking" sound 4 times a second). When the app is at the foregound, visual feedback for the "clicks" is required. The player implemention is able to emit the corresponding information shortly before the click starts and I am looking for a way to bring this information to the UI.
Timed metadata seemed like something which would exactly fit the needs, but besides of not being transferred to the controller, I am unsure, if it would able to deliver information reliable within a small enough latency (say 0.1s).
from media.
Related Issues (20)
- Do I get anything for filing issue #1000? HOT 3
- Analytics onLoad events for HttpMediaDrmCallback requests HOT 2
- Playback exception on cmaf vod stream which the first segment have emsg box
- Player
- .
- evaluateMediaItemTransitionReason - IllegalStateException HOT 3
- How does an external client connect to a MediaLibraryService? HOT 2
- AC-3 is not detect - part 1 HOT 6
- Close caption menu with the Unknown label for the Português language HOT 2
- Reason why onMetadata would not be called? HOT 10
- Advertise playback capabilities with fine-grained access control. HOT 2
- MediaNotificationController not connecting when using custom LocalBinder HOT 1
- The ffmpeg extensions of the release branch is broken HOT 3
- Distortion Audio Effect HOT 2
- PlayerNotificationManager pixelated image HOT 2
- Feature: Show video track selector on PlayerControlView
- Loading local subtitles (.srt) obtained from content resolver. HOT 2
- While playing Widevine-DASH videos on certain devices with the MediaTek 'Dimensity' chipset, executing the 'seekTo' action often results in the player encountering "errorCode=ERROR_CODE_DECODING_FAILED". HOT 8
- The MediaSessionService never destroyed When I Open App I can see Old Data. HOT 4
- AC-3 is not detect - part 2 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from media.