‘liusuyi’
2023-07-19 191a9cb6a141fb39037c41d8c13e78bf0c1b1cde
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package com.ruoyi.media.service;
import com.ruoyi.media.domain.Items;
import com.ruoyi.media.domain.RtspSession;
import com.ruoyi.media.domain.StreamInfo;
 
import java.util.List;
 
public interface IMediaService {
 
    public String addPath(String name, String rtspPath,String mode);
    StreamInfo getPathInfo(String name);
    public void removePath(String[] names);
    public List<StreamInfo>paths();
    public List<Items> rtspconns();
    public List<Items> rtspsessions();
 
    RtspSession getRtspSessionById(String sessionId);
 
    List<RtspSession>getPushStreams();
    List<RtspSession>getPullStreams();
 
    List<StreamInfo>getPushStreamList();
    List<StreamInfo>getPullStreamList();
 
    Boolean kickRtspSession(String sessionId);
 
}