npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@roitium/expo-orpheus

v0.11.2

Published

A player for bbplayer

Readme

Orpheus

BBPlayer 内部音频模块

这是一个为 BBPlayer 项目构建的高性能定制音频播放库。旨在替代 react-native-track-player,以提供与 Android Media3 (ExoPlayer) 更紧密的集成,并针对 Bilibili 音频流逻辑提供了原生层支持。

功能特性

  • Bilibili 集成: 自动处理 Bilibili 音频流,支持高码率(需 Cookie)。
  • 双层缓存: 包含独立的下载缓存和边下边播 LRU 缓存。
  • Android Media3: 基于最新的 Media3 和 ExoPlayer 架构。
  • 桌面歌词: 支持系统级桌面歌词悬浮窗。
  • ExoPlayer 扩展: 支持 ffmpeg 扩展(如需要)。

注意事项

[!IMPORTANT] 必须注册 Headless Task

你必须在应用的入口文件(如 index.js)中调用 registerOrpheusHeadlessTask。 即使你不需要自定义后台逻辑,也必须注册它,因为内部的 Hooks(如 useCurrentTrack)依赖于此建立的事件桥接来接收原生事件。如果不注册,UI 将无法正确响应状态变化。

文档

详细的 API 文档和使用说明请参阅 Wiki 或直接查看 docs/ 目录。

声明

该库主要供 BBPlayer 内部使用,虽然开源,但可能不会处理外部的 Feature Request。