Media Source with two streams is not working. RRS feed

  • Question

  • I am creating a media Source, which is working fine for Video only or Audio Only file but as soon as i play a file with both audio-video it fails. Though both streams are created is created and media types are set properly but "RequestSample" for only one stream  and thats also fails after initial call. the other stream gives a "StreamingError" . But Only Audio or Only Video is working fine?

    Though i am creating separte streams for Audio and Video as given in MPEG1Source example but m_streams[index] is returing NULL though Stream creation is successfull. 

    I am not getting where the problem could be. Please let me know the basic steps for creating multiple streams, what mistake i may probably be doing and also if possible some refrence code could be very helpfull.



    Monday, July 14, 2014 6:25 AM