Mahmoud Bahaa
1 min readJul 25, 2020

--

Hi David,

I wouldn’t use a custom approach unless I really need it. If you are using a streaming technology like HLS, ExoPlayer has a prepackaged solution - that supports TS - to parse the HLS manifest and hook the right components for you; please follow this example https://exoplayer.dev/hls.html. To render TS packages you may want to use TSExtractor, which should extract the encoded frames from the TS packets. You can inject TSExtractor to an ExtractorMediaSource.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Mahmoud Bahaa
Mahmoud Bahaa

Written by Mahmoud Bahaa

Founder at Copay, ex-Manager at Amazon

Responses (1)

Write a response