| <?xml version="1.0" encoding="UTF-8" ?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| |
| --> |
| <library> |
| |
| <class name="incomingScreenSharing" extends="labelExplorerBox" labelid="643" |
| docking="true" resizeable="false" closable="true" width="260" |
| x="$once{ canvas.width - this.width - 10 }" y="10" height="160"> |
| |
| <attribute name="messageObj" value="null" /> |
| <attribute name="refObj" value="null" /> |
| |
| <handler name="oninit"> |
| var tString = canvas.getLabelName(644) + " " |
| + messageObj.rcl.firstName + " " + messageObj.rcl.lastName; |
| this._text.setAttribute("text",tString); |
| </handler> |
| |
| <labelText name="_text" text="" x="10" y="22" |
| width="$once{ parent.width - 20 }" multiline="true" resize="false"/> |
| |
| <simpleLabelButton labelid="645" width="100" |
| x="$once{ parent.width - 105 }" y="$once{ parent.height - 26 }"> |
| <handler name="onclick"> |
| lz.Browser.loadURL(parent.generateFileLink(),'_BLANK'); |
| </handler> |
| </simpleLabelButton> |
| |
| <method name="generateFileLink"> |
| <![CDATA[ |
| return canvas.protocol+'://'+canvas.rtmphostlocal+':'+canvas.red5httpport+ |
| +canvas.httpRootKey+'RtpSharerServlet?publicSID='+this.messageObj.publicSID + |
| '&room='+this.messageObj.room + |
| '&room_id='+hib.currentroomid + |
| '&sid='+canvas.sessionId; |
| ]]> |
| </method> |
| </class> |
| |
| </library> |