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

Create MediaSource from FileDescriptor #3757

@jmgirven

Description

@jmgirven

I have an Android box which allows a HDMI input. I have been given some code that grabs the data stream from the HDMI input and writes an MPEG TS stream to a FileDescriptor. I wondered if I could pass this FileDescriptor into ExoPlayer as a MediaSource for playback? I couldn't see a way to do that in the current API. Old questions reference a FrameworkSampleSource that seems long since removed.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions