liusuyi
2025-02-19 12f344197d6af5d23594847359801c983cf4612a
ard-work/src/main/java/com/ard/tianyu/service/impl/TyServiceImpl.java
@@ -568,14 +568,14 @@
     * 点播
     */
    @Override
    public String play(String boxSn) {
    public ArdVtdu play(String boxSn) {
        BoxStreamUrlReceiver boxLiveUrl = getBoxLiveUrl(boxSn);
        if(boxLiveUrl == null||boxLiveUrl.getRtsp() == null) {
            return "";
            return null;
        }
        ArdVtdu ardVtdu = ArdVtdu.builder().name(boxSn).rtspSource(boxLiveUrl.getRtsp()).build();
        ardVtdu = mediaService.addPath(ardVtdu);
        return ardVtdu.getWebrtcUrl();
        return ardVtdu;
    }
    /**