Initial working implementation of HLS proxy

This commit is contained in:
2025-10-01 02:40:12 +05:00
commit 3bc563955f
29 changed files with 1594 additions and 0 deletions

View File

@ -0,0 +1,18 @@
package com.backend.hls.proxy.config;
import org.springframework.cache.CacheManager;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cache.caffeine.CaffeineCacheManager;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@Configuration
@EnableCaching
public class CacheConfig {
@Bean
public CacheManager cacheManager() {
return new CaffeineCacheManager("hlsPlaylistContent", "playlistSegmentContent");
}
}