/**
  * Dynamic streaming play method. This is a convenience method.
  *
  * @param params play parameters
  */
 @SuppressWarnings("rawtypes")
 public void play2(ObjectMap params) {
   log.debug("play2 options: {}", params);
   Map<String, Object> playOptions = new HashMap<String, Object>();
   for (Object key : params.keySet()) {
     String k = key.toString();
     log.trace("Parameter: {}", k);
     playOptions.put(k, params.get(k));
   }
   play2(playOptions);
 }
 /**
  * Dynamic streaming play method. This is a convenience method.
  *
  * @param oldStreamName old
  * @param start start pos
  * @param transition type of transition
  * @param length length to play
  * @param offset offset
  * @param streamName stream name
  */
 public void play2(
     String oldStreamName,
     int start,
     String transition,
     int length,
     double offset,
     String streamName) {
   Map<String, Object> playOptions = new HashMap<String, Object>();
   playOptions.put("oldStreamName", oldStreamName);
   playOptions.put("streamName", streamName);
   playOptions.put("start", start);
   playOptions.put("len", length);
   playOptions.put("offset", offset);
   play2(playOptions);
 }