<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><blockquote type="cite"><div lang="EN-US" link="blue" vlink="purple" 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;"><div class="WordSection1" style="page: WordSection1;"><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">Thanks for the help. I was able to use setClientPortNum() inside setupNextSubsession() to specify which port for it to use so it didn’t auto-search. Oddly enough, any even port between 65408 – 65518 seems to work. That was just the range I tested, it probably works outside of that as well. With that change, things work great!</div></div></div></blockquote><div><br></div>Nonetheless, something must be broken in your system if the normal ephemeral port number selection code (the "while" loop starting at line 726 of "MediaSession.cpp") is not working for you. Nobody else has had any problem with this. I suggest that you figure out what's wrong with your system, rather than just 'papering over it' like this.</div><div><br></div><div> <br><blockquote type="cite"><div lang="EN-US" link="blue" vlink="purple" 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;"><div class="WordSection1" style="page: WordSection1;"><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p> </o:p><span style="font-size: 11pt;">As a follow-on question, is there a way to use the Live555 library to MUX in a custom data structure into the audio & video stream that I’m getting via RTSP?</span></div></div></div></blockquote><div><br></div>Are you still talking about a RTSP *client*, receiving from an existing RTSP server? If so, then please post an example of the SDP description that the RTSP client reports (you can use "testRTSPClient" or "openRTSP" to get this; it'll be the text returned by the RTSP "DESCRIBE" command).</div><div><br></div><div>Or are you talking about developing your own RTSP *server*, and want to know how to add your own new media data (in addition to an audio and video track) to the stream transmitted by the server? If so, then you'll need to explain a lot more about what kind of media this is. (Is this data time-based? If not, then it probably doesn't make sense to stream it via RTSP/RTP?)</div><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>