In my application I use the ExoPlayer library to play a MPEG video stream. This stream also holds some additional metadata which are currently not supported by ExoPlayer e.g. the Event Information Table (EIT) and the time offset table (TOT). I would like to extract that data myself from the stream and found the TsPayloadReader class, which looks good for that purpose.
My problem is that I do not know, how to attach the reader to the player so I can parse the stream myself. I do not want to extract everything for myself, since the video, audio and subtitles are recognized perfectly. I just want to add some custom logic for my needs. What do you think is the easiest way to do this?
from Parse additional stream data using ExoPlayer
No comments:
Post a Comment