<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><base href="x-msg://1648/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Initially, when debugging your server, you should use "testRTSPClient" - rather than VLC - as your RTSP client. ("testRTSPClient" will tell you a lot more about what's going on.) Please post the output from running "testRTSPClient" on your stream.<div><br></div><div><br></div><div><blockquote type="cite"><div lang="EN-US" link="blue" vlink="purple"><div class="WordSection1" style="page: WordSection1; "><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">The H264VideoVencMediaSubsession::createNewStreamSource returns a<b> H264VideoStreamDiscreteFramer</b></div></div></div></blockquote><div><br></div>Please also post the code for your implementation of the "createNewRTPSink()" virtual function. If possible (if you know, in advance, the SPS/PPS NAL units, or equivalently the 'sprop-parameter-sets" string, for your stream), you should use one of the forms of "H264VideoRTPSink::createNew()" that takes this information as a parameter.</div><div><br></div><div><br></div><div><blockquote type="cite"><div lang="EN-US" link="blue" vlink="purple"><div class="WordSection1" style="page: WordSection1; "><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">The Video encoder hands VencSource VCL frames that may contain multiple NALs so the deliverFrame strips off the start NAL frame codes finds the end of the NAL unit and delivers one NAL unit per frame delivery.</div></div></div></blockquote><div><br></div>Good. That's the right thing to be doing. Make sure that you're setting "fFrameSize" correctly (taking into account that you're not delivering the 4-byte 'start code'), and, of course, don't forget to call "FramedSource::afterGetting(this);" to complete the delivery of each NAL unit.</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; font-size: medium; "><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; font-size: medium; ">Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a></span></span>
</div>
<br></body></html>