<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16735" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=848081020-21112008><FONT face=Arial size=2>While writing code
using the library I ran through a minor compilation problem where the compiler
would complain about member function StopPlaying() being
protected.</FONT></SPAN></DIV>
<DIV><SPAN class=848081020-21112008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=848081020-21112008><FONT face=Arial size=2>The issue I got was
causing by the library having class <FONT size=2>MediaSink declares virtual
member function StopPlaying() as public member. However in derived class <FONT
size=2>MultiFramedRTPSink it is being declared as protected. Since the method is
virtual I would have expected the method being declared as public also in class
MultiFramedRTPSink. Otherwise the only way to call StopPlaying() from an
application is to cast the derived sink implementation to a MediaSink object.
Then the protected StopPlaying() of MultiFramedRTPSink can be called thorough
public StopPlaying() of MediaSink.</FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=848081020-21112008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=848081020-21112008><FONT face=Arial
size=2>Regards</FONT></SPAN></DIV>
<DIV><SPAN class=848081020-21112008><FONT face=Arial size=2>Guy
Bonneau</FONT></SPAN></DIV>
<DIV><SPAN class=848081020-21112008><FONT face=Arial
size=2></FONT></SPAN> </DIV></BODY></HTML>