Esempio n. 1
0
        public List <MPEGDemuxerTrack> getAudioTracks()
        {
            List <MPEGDemuxerTrack> result = new List <MPEGDemuxerTrack>();

            foreach (BaseTrack p in streams.Values)
            {
                if (MPSUtils.audioStream(p.streamId))
                {
                    result.Add(p);
                }
            }
            return(result);
        }
Esempio n. 2
0
 public override DemuxerTrackMeta getMeta()
 {
     return(new DemuxerTrackMeta(MPSUtils.videoStream(streamId) ? DemuxerTrackMeta.Type.VIDEO : (MPSUtils.audioStream(streamId) ? DemuxerTrackMeta.Type.AUDIO : DemuxerTrackMeta.Type.OTHER), null,
                                 0, 0, null));
 }