Streaming HTML Content
WMPTalk.com Forum Index WMPTalk.com
Discuss Windows Media Player
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web wmptalk.com
Streaming HTML Content

 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> Encoders
Author Message
PeterGV
Guest





Posted: Sat Nov 06, 2004 4:06 am    Post subject: Streaming HTML Content Reply with quote

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."

Back to top
PeterGV
Guest





Posted: Sun Nov 07, 2004 10:35 pm    Post subject: RE: Streaming HTML Content Reply with quote

"PeterGV" wrote:

Quote:
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 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
Back to top
 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> Encoders All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Microsoft Office Forum New Topics
Powered by phpBB