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.