<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 12pt; position: static; z-index: auto; "><div>I am creating an RTP/UDP relay that encrypts raw MPEG2TS streams. On the incoming side I used an RTPSource plus an RTCPInstance in client mode and on the outgoing side I used an RTPSink and an RTCPInstance in server mode. <br></div><div><br></div><div>The encrypting function is implemented in a subclass of framed filter which I use as a source to the RTPSink. I have tested the encryption implementation using a FileSink and it seems to be working fine.</div><div><br></div><div>I have been using VLC to send the RTP stream to the relay but in the client the same video as the source is seen without encryption.</div><div><br></div><div>I guess that the RTCP is being relayed but somehow the RTP is going straight from the source to the client. Is that a possible explanation? Am I missing something in my
implementation?<br></div></div></div></blockquote><div><br></div></div>It's hard to say, but make sure that:<div>1/ You use separate "groupsock" objects for receiving and sending, and</div><div>2/ You use separate port numbers for receiving and sending.</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>