From 5772d3f2315a70770cc357456a4a532c7130d2aa Mon Sep 17 00:00:00 2001
From: koisi <kor.coeo@gmail.com>
Date: 星期一, 05 八月 2024 18:59:02 +0800
Subject: [PATCH] 修复 87c071:合并271分支 的参数遗漏

---
 src/main/java/com/genersoft/iot/vmp/media/event/media/MediaNotFoundEvent.java |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/src/main/java/com/genersoft/iot/vmp/media/event/media/MediaNotFoundEvent.java b/src/main/java/com/genersoft/iot/vmp/media/event/media/MediaNotFoundEvent.java
index 675d6e9..2415566 100644
--- a/src/main/java/com/genersoft/iot/vmp/media/event/media/MediaNotFoundEvent.java
+++ b/src/main/java/com/genersoft/iot/vmp/media/event/media/MediaNotFoundEvent.java
@@ -1,6 +1,5 @@
 package com.genersoft.iot.vmp.media.event.media;
 
-import com.genersoft.iot.vmp.media.abl.bean.hook.ABLHookParam;
 import com.genersoft.iot.vmp.media.bean.MediaServer;
 import com.genersoft.iot.vmp.media.zlm.dto.hook.OnStreamNotFoundHookParam;
 
@@ -17,14 +16,6 @@
         mediaDepartureEven.setApp(hookParam.getApp());
         mediaDepartureEven.setStream(hookParam.getStream());
         mediaDepartureEven.setSchema(hookParam.getSchema());
-        mediaDepartureEven.setMediaServer(mediaServer);
-        return mediaDepartureEven;
-    }
-
-    public static MediaNotFoundEvent getInstance(Object source, ABLHookParam hookParam, MediaServer mediaServer){
-        MediaNotFoundEvent mediaDepartureEven = new MediaNotFoundEvent(source);
-        mediaDepartureEven.setApp(hookParam.getApp());
-        mediaDepartureEven.setStream(hookParam.getStream());
         mediaDepartureEven.setMediaServer(mediaServer);
         return mediaDepartureEven;
     }

--
Gitblit v1.8.0