<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1226" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ddf4ff>
<DIV><FONT face=Arial color=#000000 size=2>I have found the keyframe flag for
RealMedia rtsp Streams:<BR><BR>Go to the following function:
<DIV><FONT face=Arial color=#000000 size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#000000 size=2>580 int
real_get_rdt_chunk(rtsp_t *rtsp_session, char *buffer)</FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#000000 size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#000000 size=2>Replace this line</FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2></FONT> </DIV><FONT face=Arial
color=#000000 size=2>
<DIV><FONT face=Arial color=#000000 size=2>618
unknown1=(header[5]<<12)+(header[6]<<8)+(header[7]);<BR></DIV>
<DIV> </DIV>
<DIV>with this one:</DIV>
<DIV></FONT> </DIV>
<DIV>618
unknown1=(header[5]<<16)+(header[6]<<8)+(header[7]);<BR></DIV>
<DIV> </DIV>
<DIV>And this one</DIV>
<DIV> </DIV></FONT>
<DIV><FONT face=Arial color=#000000 size=2>634
ph.flags=0; /* TODO: determine
keyframe flag and insert here? */</FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#000000 size=2>with this:</FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#000000 size=2>634
ph.flags=2-(2*(unknown1&1));<BR></FONT></DIV></FONT></DIV></BODY></HTML>