PeterGV
Guest
|
Posted:
Sat Nov 06, 2004 4:06 am Post subject:
Streaming HTML Content |
|
|
I am having a hell of a time trying to embed HTML content in a media stream,
broadcast live. This is supposedly demonstrated by this example
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmencode/htm/streaminghtmlcontentcpp.asp
I am pleased to say that all three of these pieces of example code look
reasonably correct, and the CPP code actually compiles. The VBSCRIPT looks
right, and the web page appears like it works.
However, it does not show the JPGs as it should.
To recap: I have successfully created the profile... the prx file looks
correct. I have stepped through the broadcast encoder code, and there are no
errors. The problem is I don't see the JPGs either.
Can anybody help me with this??
I'd appreciate an email reply to PeterGV_at_osr_dot_com if it's not too much
trouble. I don't spend too much time in this forum, and this is driving me
nuts.
Thanks mucho,
PeterGV
Windows DDK MVP -- "Trust me, writing drivers is easier than this."
|
|
PeterGV
Guest
|
Posted:
Sun Nov 07, 2004 10:35 pm Post subject:
RE: Streaming HTML Content |
|
|
"PeterGV" wrote:
I finally managed to get this to work. Of course, the example is wrong.
The example code to add a file to a file set reads:
hr = pFileSet->Add(CComBSTR("C:\\HTML\\image1.jpg"),
CComBSTR("C:\\HTML\\image1.jpg"));
It should read:
hr = pFileSet->Add(CComBSTR("C:\\HTML\\image1.jpg"), CComBSTR("image1.jpg"));
Or, well... at least with this change it worked for me.
Arrrrgh,
PeterGV |
|