Changeset 52
- Timestamp:
- 05/19/08 10:38:20
(4 months ago)
- Author:
- sip
- Message:
Added FLV xml rpc methods
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r36 |
r52 |
|
| 109 | 109 | } |
|---|
| 110 | 110 | |
|---|
| | 111 | public Integer CreateFLVWatcher(Integer confId) throws XmlRpcException |
|---|
| | 112 | { |
|---|
| | 113 | //Create request |
|---|
| | 114 | Object[] request = new Object[]{confId}; |
|---|
| | 115 | //Execute |
|---|
| | 116 | HashMap response = (HashMap) client.execute("CreateFLVWatcher", request); |
|---|
| | 117 | //Get result |
|---|
| | 118 | Object[] returnVal = (Object[]) response.get(new String("returnVal")); |
|---|
| | 119 | //Return part id |
|---|
| | 120 | return (Integer)returnVal[0]; |
|---|
| | 121 | } |
|---|
| | 122 | |
|---|
| 111 | 123 | public boolean SetCompositionType(Integer confId,Integer comp,Integer size) throws XmlRpcException |
|---|
| 112 | 124 | { |
|---|
| … | … | |
| 295 | 307 | } |
|---|
| 296 | 308 | |
|---|
| | 309 | public boolean DeleteFLVWatcher(Integer confId) throws XmlRpcException |
|---|
| | 310 | { |
|---|
| | 311 | //Create request |
|---|
| | 312 | Object[] request = new Object[]{confId}; |
|---|
| | 313 | //Execute |
|---|
| | 314 | HashMap response = (HashMap) client.execute("DeleteFLVWatcher", request); |
|---|
| | 315 | //Return |
|---|
| | 316 | return true; |
|---|
| | 317 | } |
|---|
| | 318 | |
|---|
| 297 | 319 | public boolean DeleteConference(Integer confId) throws XmlRpcException |
|---|
| 298 | 320 | { |
|---|
Download in other formats:
|
|