@Default
 public void processEvent(Event paramEvent) {
   Video localVideo = (Video) properties.get("video");
   try {
     Source localSource = selectSource(localVideo);
     properties.put("source", localSource);
     eventEmitter.respond(paramEvent);
     return;
   } catch (NoSourceFoundException paramEvent) {
     Log.e(
         DefaultSourceSelectionController.TAG,
         "no usable Source could be found for Video: " + localVideo.toString());
     EventUtil.emit(eventEmitter, "sourceNotFound", localVideo);
   }
 }
コード例 #2
0
ファイル: g.java プロジェクト: gdkjrygh/CompSecurity
 public void processEvent(Event event) {
   label0:
   {
     if (event.properties.get("uuid").equals(a)) {
       c.a();
       BaseVideoView.b(c, b);
       event = (Video) event.properties.get("nextVideo");
       if (event == null) {
         break label0;
       }
       EventUtil.emit(c.a, "setVideo", event);
     }
     return;
   }
   c.a.emit("setSource");
 }