package com.usky.sas.common;

import org.springframework.stereotype.Service;

@Service
public class StandardOnvifService {
    public String getNvrRealTimeStreamUrl(String ip, String user, String password, String token) {
        // Placeholder implementation
        return String.format("rtsp://%s:%s@%s:554/stream/%s", user, password, ip, token);
    }

    public String getRealTimeStreamUrl(String ip, String user, String password) {
        // Placeholder implementation
        return String.format("rtsp://%s:%s@%s:554/stream", user, password, ip);
    }
}
