这是indexloc提供的服务,不要输入任何密码
Skip to content

Question: Can SDK Runtime be used to implement audio decoding components? #154

@rahulmohan-xperi

Description

@rahulmohan-xperi

Hi everyone,

I’ve recently started diving into the SDK Runtime and exploring its capabilities. As part of this journey, I’m working on a use case where I need to implement an audio decoding library that can be accessed by multiple applications on the system.

I understand that the recommended approach for such functionality is to implement it as a MediaCodec decoder. However, I’m specifically looking to achieve this without requiring any framework-side updates.

Here’s a quick summary of what I’m trying to achieve:

  • The application will send the compressed bitstream to SDK Runtime library and get back the decoded audio data.
  • The audio decoder is implemented in C, so I’ll need to use JNI to bridge it within the SDK Runtime.
  • It may be required to continue audio decoding even when the application goes into the background.

Ultimately, I’m trying to understand whether the SDK Runtime can be extended to support such a use case - essentially acting as a shared, native-backed decoding service.

I’d love to hear from anyone who has explored similar territory or has insights into extending SDK Runtime for media-related components. Any guidance, documentation pointers, or architectural suggestions would be greatly appreciated!

Thanks in advance! 🙌

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions