Hi All,<br><br>Attached version 0.04 :)<br>The usage is now as follows:<br><br>Without target address:<br>./sip_desktop_sharing [--auto-answer <list of sip addresses | all>]<br><div id=":2bz" class="ArwC7c ckChnd"><br>
With target address:<br>./sip_desktop_sharing [--desktop <remote | local>] <a href="mailto:user@domain.com">user@domain.com</a><br>
<div id=":2bz" class="ArwC7c ckChnd"><br>
</div>In the first form it will sit idle waiting for incoming desktop sharing sessions. When the --auto-answer option is given, it will share the local desktop automatically without user intervention to sessions set up by addresses from the <list of sip addresses>. When <all> is given, everybody is automatically authorized to share the local desktop. <br>
Offers to share the remote desktop will always require manual permission.<br><br>In the second form it will call the targeted address, and request to share the remote desktop. If "--desktop local" is used, the local desktop is offered for sharing.<br>
<ol><li>The <Enter>, <Backspace> and <Tab> and Control- keys are now working.</li><li>Multiple sessions from different callers can be set up with a called party.<br>The called parties desktop will be shared between all those callers.<br>
</li></ol></div>I have a listening sip_desktop_sharing session, open for testing purposes.<br>You can reach it with:<br><br>./sip_desktop_sharing <a href="mailto:2233361709@sip2sip.info">2233361709@sip2sip.info</a><br><br>
<br>I've added three lines to site-packages/pypjua/clients/config.py to allow for extra options for a specific program.<br><br>On line 81 i changed<br><br><span style="font-family: courier new,monospace;">def parse_options(usage, description):</span><br>
<br>in<br><br><span style="font-family: courier new,monospace;">def parse_options(usage, description, extra_options = ()):</span><br><br>On line 129, just before<br><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    options, args = parser.parse_args()</span><br>
<br>I added:<br><br><span style="font-family: courier new,monospace;">    for extra_option in extra_options:</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">        parser.add_option(*extra_option[0], **extra_option[1])</span><br>
<br>The sip_desktop_sharing program has a local version this file (and of site-packages/pypjua/clients/clientconfig.py for finding the wav files), so you don't have to alter the originals.<br><br>Good luck sip_desktop_sharing !<br>
Cheers,<br><br>Willem<br><br><div class="gmail_quote">2009/1/26 Adrian Georgescu <span dir="ltr"><<a href="mailto:ag@ag-projects.com">ag@ag-projects.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="">Hi Willem,<div><br></div><div>Could you improve the program  as follows:</div><div><br></div><div>1. Provide a ringing indication so that the called party can agree with it like for a normal session, use the --auto-answer option if you want to respond automatically  </div>
<div>2. Use --desktop argument instead of request, the values can be local or remote, default is remote</div><div><br></div><font color="#888888"><div>Adrian</div><div><br></div></font><div><div><div class="Ih2E3d"><div>On Jan 26, 2009, at 12:36 PM, Willem Toorop wrote:</div>
<br></div><blockquote type="cite"><div><div></div><div class="Wj3C7c">Hi All,<br><div class="gmail_quote"><br>Attached version 0.03 of sip_desktop_sharing. The usage is:<br><br>./sip_desktop_sharing [<a href="mailto:target-user@target-domain.com" target="_blank">target-user@target-domain.com</a>] [request]<br>
 <br>Without arguments it will sit idle waiting for incoming desktop sharing requests, with a target address it will call that address to setup a desktop sharing session. If there is a second argument, request, the caller will ask the callee for its desktop, otherwise the callers desktop is offered to the callee.<br>
 <br>There are still many bugs.<br><ul><li>When SDP negotiation fails, the caller isn't notified.</li><li>Some keys still need to be translated properly from pygame to rfb key events. Notably the <enter> key doesn't work yet :)</li>
 <li>Sometimes the session just stops for several seconds (maybe the 30 seconds MSRP-Relay timeout?)</li></ul>I have a small desktop which I share using sip_desktop_sharing which auto-accepts desktop requests for testing purposes.<br>
 You can connect to it with:<br><br>./sip_desktop_sharing 2233361709 request<br><br>Let me know if this version works for you.<br>Cheers,<br><font color="#888888"><br>Willem<br><br> </font></div><br> </div></div><div class="Ih2E3d">
<span><sip_desktop_sharing-0.03.tgz></span>_______________________________________________<br>SIPclient mailing list<br><a href="mailto:SIPclient@lists.ag-projects.com" target="_blank">SIPclient@lists.ag-projects.com</a><br>
<a href="http://lists.ag-projects.com/mailman/listinfo/sipclient" target="_blank">http://lists.ag-projects.com/mailman/listinfo/sipclient</a><br></div></blockquote></div><br></div></div></blockquote></div><br>