Eric Hyche wrote:
>John,
>
>The ASM flags are not transmitted over the UDP packets.
>So you have to reconstruct them, and it can be kind of
>tricky.
>
>Just to make sure I understand what you are doing -
>you have implemented recording by implementing
>IHXRecordService? So the packets you are recording are
>getting passed to you from the client engine? Or did
>you implement this in some other way?
>
Yes, we've implemented IHXRecordService.
>Are you writing
>the file out via IHXFileWriter?
>
>
No, we're not using IHXFileWriter.
>If you implemented it via IHXRecordService, then
>you may have to fiddle with the ASM flags to
>get them right. You may want to look at the file
>datatype-restricted/rm/fileformat/intrstrm.cpp
>in the method FillOnePacket() to see how the
>RealMedia file format sets the ASM flags.
>
>
OK I'll have a look.
>Eric
>
>=============================================
>Eric Hyche (ehyche real.com)
>Technical Lead
>RealNetworks, Inc.
>
>
>
>>-----Original Message-----
>>From: helix-client-dev-bounces helixcommunity.org
>>[mailto:helix-client-dev-bounces helixcommunity.org] On
>>Behalf Of John Stirling
>>Sent: Thursday, March 08, 2007 12:31 PM
>>To: helix-client-dev lists.helixcommunity.org
>>Subject: [Helix-client-dev] Recording Real Audio
Content
>>
>>We're attempting to record real audio content -
we've got a recorded
>>file that looks pretty much like the original file,
but it
>>won't play.
>>The problem seems to be with the flags field in the
data
>>packet headers.
>>How do we know what to set the flags field to ?
>>
>>If we manually edit the recorded file and set the
first data packet
>>header Flags field = 2, we at least get some audible
content,
>>but there
>>are glitches.
>>
>>There is flags information available in
>>pPacket->GetASMFlags()
>>pPacket->GetASMRuleNumber()
>>
>>but this doesn't seem to match up with the original
file:
>>
>>1. flags in original file = 0,2
>>2. asm flags reported = 2,3
>>
>>Any ideas ?
>>
>>
>>John
>>
>>
>>
>>
>>
>>
>>
>>_______________________________________________
>>Helix-client-dev mailing list
>>Helix-client-dev helixcommunity.org
>>http://lists.helixcommunity.org/mailman/listinf
o/helix-client-dev
>>
>>
>>
>
>
>
_______________________________________________
Helix-client-dev mailing list
Helix-client-dev helixcommunity.org
http://lists.helixcommunity.org/mailman/listinf
o/helix-client-dev
|