vod普通加密
This commit is contained in:
@@ -25,11 +25,7 @@ import java.net.URI;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
@Slf4j
|
||||
@Service
|
||||
public class HlsDecryptService {
|
||||
@Autowired
|
||||
private PlayToken playToken;
|
||||
private static DefaultAcsClient client;
|
||||
|
||||
static {
|
||||
@@ -79,7 +75,7 @@ public class HlsDecryptService {
|
||||
String token = getMtsHlsUriToken(httpExchange);
|
||||
boolean validRe = false;
|
||||
try {
|
||||
validRe = playToken.validateToken(token);
|
||||
// validRe = playToken.validateToken(token);
|
||||
} catch (Exception e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
@@ -201,7 +197,6 @@ public class HlsDecryptService {
|
||||
// System.out.println("hls decrypt server started");
|
||||
}
|
||||
|
||||
@PostConstruct
|
||||
public void init() throws IOException {
|
||||
// HlsDecryptService server = new HlsDecryptService();
|
||||
serviceBootStrap();
|
||||
|
||||
Reference in New Issue
Block a user