- October 29, 2005
- 5,335
- 4,954
- Home Country
- Hungary
You could try to call "GetMediaInfo" between "InitStream" and "StartStreamWithStreamSelection". Probably you have to check for timeshift file existence before calling "GetMediaInfo".
Here is the info what we want.
{"AudioStreams":[{"Channels":2,"Codec":"MPEG-1 Audio layer 2","ID":64,"Index":0,"Language":"hu","LanguageFull":"Hungarian","Title":""},{"Channels":2,"Codec":"MPEG-1 Audio layer 2","ID":65,"Index":1,"Language":"en","LanguageFull":"English","Title":""}],"Container":"MPEG-TS","Duration":52320,"SubtitleStreams":[],"VideoStreams":[{"Codec":"MPEG-2 Video","DisplayAspectRatio":1.778,"DisplayAspectRatioString":"16:9","Height":576,"ID":48,"Index":0,"Interlaced":true,"Width":720}]}