androidx / androidx/media

Feature Request: Built-in Live Stream Recording compatible with demo project

Open
#1,844 9 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

editing enhancement low priority
Dominant language
Java
Stars
3k
Forks
955
Avg merge
12d 14h
Merged PRs (30d)
2

Description

Subject: Feature Request: Built-in Live Stream Recording
Dear Media3 Team,
I'm writing to propose a new feature for Media3: built-in live stream recording.
Problem: Currently, Media3 doesn't provide a native solution for directly recording live streams especially works with Media3 Demo Android Application. Developers often need to rely on custom implementations, which can be complex and resource-intensive.
Proposed Solution: Introduce a new API or extension that allows developers to easily record live streams directly from the Media3 player. This could be achieved by:

  1. Exposing a Recording API: Provide a simple API to start, stop, and pause recordings.
  2. Offering a Callback Mechanism: Allow developers to access the decoded media data for custom recording implementations.
  3. Providing Sample Implementations: Share code examples demonstrating best practices for live stream recording.
    Advantages:
  • Simplified Development: Reduces the complexity of implementing live stream recording.
  • Improved Performance: Optimized recording capabilities can lead to better performance and reduced resource usage.
  • Enhanced User Experience: Enables users to easily record and save their favorite live streams.
  • Increased Flexibility: Offers developers more control over the recording process and output formats.
    By incorporating these features, Media3 can become a more powerful and versatile platform for both developers and end-users.
    Thank you for considering this feature request.
    Sincerely,
    Pooya Mohammadhossein (Ryan)
    Senior Computer Engineer (Zero)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.