Quantcast
Channel: Media Foundation Development for Windows Desktop forum
Viewing all articles
Browse latest Browse all 1079

Source Resolver CreateObjectFromUrl hangs when called from ByteStreamHandler

$
0
0

Hi

I have a  MediaFoundation Bytestreamhandler for a specific extension and for a specific case  I have to create a mediasource from a modified URL within the Bytestreamhandler.  I am trying to do this by calling pSourceResolver->CreateObjectFromUrl. The problem is this function hangs when called within BytestreamHandler. It also hangs for pSourceResolver->CreateObjectFromByteStream. (no error returned, just hangs).

I was doubtful whether I am making a mistake with the options but when I try pSourceResolver->CreateObjectFromUrl from my own SchemeHandler, it gives me a valid mediasource which works.

I didn’t see any documentation about this but is it that we can’t call SourceResolver from BytestreamHandler? I get that this would be like a recursive call but there should be someway to work around this Or is this a bug? Or Should I be using some other function to be getting a valid mediasource for a Valid URL when I need this to be called from ByteStreamHandler?

Thanks,

Kaks



Viewing all articles
Browse latest Browse all 1079

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>