Hi,<br>I'm a little new with live library and streamig. I am trying to adapt a testProg to stream .h264. I am modifying testMPEG4VideoStreamer. I change the videoSource pointer to my own class OurH264VideoStreamFramer pointer, and then I change testMPEG4VideoStreamer line 57 to:
<br><br>videoSink = H264VideoRTPSink::createNew(*env, &amp;rtpGroupsock, 97,90000,&quot;H264&quot;) ;<br><br>and line 120 to:<br><br>videoSource = OurH264VideoStreamFramer::createNew(*env, videoES);<br><br>but I have this errors:
<br><br>testH264VideoStreamer.cpp(102) : error C2243: 'type cast' : conversion from 'class OurH264VideoStreamFramer *' to 'class Medium *' exists, but is inaccessible<br>testH264VideoStreamer.cpp(126) : error C2243: 'type cast' : conversion from 'class OurH264VideoStreamFramer *' to 'class MediaSource &amp;' exists, but is inaccessible
<br><br>¿Why is it inaccessible to cast my new class? It's no different from testMPEG4VideoStreamer, is it? I derived my class from H264VideoStreamer and this class derives from FramedFilter as similar as MPEG4VideoStreamer does.
<br><span style="font-family: monospace;"><br></span>Could anyone tell me what the problem is? Thanks in advance.<span style="font-family: monospace;"><br><br></span>Ramon<br>