<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><blockquote type="cite"><div fpstyle="1" ocsi="0" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word;"><div style="direction: ltr; font-family: Tahoma; font-size: 10pt;"><div style="font-family: 'Times New Roman'; font-size: 16px;"><div><div style="font-family: Tahoma; direction: ltr; font-size: 10pt;"><div style="font-family: 'Times New Roman'; font-size: 16px;"><div><div>Currently uncompressed ARGB data is given out from our custom source and following is the code written in<strong>createNewRTPSink</strong> of our MedisSubSession class<strong>.(</strong>which we wish to compress into H.264 and then stream )</div><div><strong></strong> </div><div><div style="margin-top: 0px; margin-bottom: 0px;">OutPacketBuffer::maxSize = 720*576*4;<span class="Apple-converted-space"> </span><font color="#008000">// by default</font></div><font color="#008000"><font color="#008000"></font></font><div style="margin-top: 0px; margin-bottom: 0px;">MultiFramedRTPSink* pSink = SimpleRTPSink::createNew(envir(), rtpGroupsock,</div></div></div></div></div></div></div></div></div></blockquote></div><br><div>Because you're planning to stream H.264 video, you MUST use a "H264VideoRTPSink", not a "SimpleRTPSink".</div><div><br></div><div>Also, we do not support streaming uncompressed video, so you must compress your video (to H.264) before streaming it.</div><div><br></div><div>I suggest that you use the "testOnDemandRTSPServer" code as a model, noting in particular the "H264VideoFileServerMediaSubsession" class. You will use a similar class in your server.</div><div><br></div><div>You should first familiarize yourself with how "testOnDemandRTSPServer" streams a H.264 video file (named "test.264").</div><br><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a></span></span>
</div>
<br></body></html>