<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Hi Juha,</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Take a look at SDPAttribute function that can add arbitrary attributes to the SDP for a stream. For example Blink adds various attributes to the SDP related to an MSRP stream like this:</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><div style="margin: 0px;"><span style="color: #bb2ca2">class</span> BlinkChatStream(ChatStream):</div><div style="margin: 0px;">    <span style="color: #bb2ca2">def</span> _create_local_media(self, uri_path):</div><div style="margin: 0px;">        local_media = super(BlinkChatStream, self)._create_local_media(uri_path)</div><div style="margin: 0px;">        local_media.attributes.append(SDPAttribute(<span style="color: #272ad8">'features'</span>, <span style="color: #272ad8">'history-control icon'</span>))</div><div style="margin: 0px;">        <span style="color: #bb2ca2">return</span> local_media</div><div><br></div></div><div>Regards,</div><div>Adrian</div><div><br></div><div><div>On 02 Nov 2014, at 12:59, Juha Heinanen <<a href="mailto:jh@tutpro.com">jh@tutpro.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">any idea how big job would it be to add sdp direction:active support to<br>sylkserver so that media proxy would not be needed if someone from<br>behind nat calls sylkserver?  any pointer where in the sources i should<br>start looking?<br><br>-- juha<br>_______________________________________________<br>SIPBeyondVoIP mailing list<br><a href="mailto:SIPBeyondVoIP@lists.ag-projects.com">SIPBeyondVoIP@lists.ag-projects.com</a><br>http://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip<br><br></blockquote></div><br><div>
<div style="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-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">--<br>Adrian<br><br><br></div>

</div>
<br></body></html>