|  | @@ -227,11 +227,11 @@ public class IMHelper {
 | 
											
												
													
														|  |       */
 |  |       */
 | 
											
												
													
														|  |      public IMApiResultInfo startRecord(String hostUserId, String roomId) throws Exception {
 |  |      public IMApiResultInfo startRecord(String hostUserId, String roomId) throws Exception {
 | 
											
												
													
														|  |          if (hostUserId == null) {
 |  |          if (hostUserId == null) {
 | 
											
												
													
														|  | -            throw new IllegalArgumentException("Paramer 'userId' is required");
 |  | 
 | 
											
												
													
														|  | 
 |  | +            throw new IllegalArgumentException("Paramer 'hostUserId' is required");
 | 
											
												
													
														|  |          }
 |  |          }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -        if (hostUserId == null) {
 |  | 
 | 
											
												
													
														|  | -            throw new IllegalArgumentException("Paramer 'groupId' is required");
 |  | 
 | 
											
												
													
														|  | 
 |  | +        if (roomId == null) {
 | 
											
												
													
														|  | 
 |  | +            throw new IllegalArgumentException("Paramer 'roomId' is required");
 | 
											
												
													
														|  |          }
 |  |          }
 | 
											
												
													
														|  |          JSONObject jsonObject = new JSONObject();
 |  |          JSONObject jsonObject = new JSONObject();
 | 
											
												
													
														|  |          jsonObject.put("mode","3");
 |  |          jsonObject.put("mode","3");
 | 
											
										
											
												
													
														|  | @@ -242,7 +242,7 @@ public class IMHelper {
 | 
											
												
													
														|  |          jsonObject.put("sliceMin","60");
 |  |          jsonObject.put("sliceMin","60");
 | 
											
												
													
														|  |          jsonObject.put("hostUserId",hostUserId);
 |  |          jsonObject.put("hostUserId",hostUserId);
 | 
											
												
													
														|  |          JSONObject json = new JSONObject();
 |  |          JSONObject json = new JSONObject();
 | 
											
												
													
														|  | -        json.put("sessionId",roomQuery(roomId));
 |  | 
 | 
											
												
													
														|  | 
 |  | +        json.put("sessionId","roomQuery(roomId)");
 | 
											
												
													
														|  |          json.put("config",jsonObject);
 |  |          json.put("config",jsonObject);
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |          String body = json.toJSONString();
 |  |          String body = json.toJSONString();
 |