临时提交

This commit is contained in:
panlinlin
2024-08-07 23:45:29 +08:00
parent fbbb4cb704
commit 3e220a2c1e
15 changed files with 302 additions and 79 deletions

View File

@@ -216,7 +216,7 @@ public interface IRedisCatchStorage {
void addPushListItem(String app, String stream, MediaArrivalEvent param);
OnStreamChangedHookParam getPushListItem(String app, String stream);
MediaArrivalEvent getPushListItem(String app, String stream);
void removePushListItem(String app, String stream, String mediaServerId);

View File

@@ -696,9 +696,9 @@ public class RedisCatchStorageImpl implements IRedisCatchStorage {
}
@Override
public OnStreamChangedHookParam getPushListItem(String app, String stream) {
public MediaArrivalEvent getPushListItem(String app, String stream) {
String key = VideoManagerConstants.PUSH_STREAM_LIST + app + "_" + stream;
return (OnStreamChangedHookParam)redisTemplate.opsForValue().get(key);
return (MediaArrivalEvent)redisTemplate.opsForValue().get(key);
}
@Override