package com.hbbh.adapter.manager;
|
|
import com.hbbh.adapter.vo.CallResult;
|
|
public interface MonibucaManager {
|
|
/**
|
* monica监控
|
*
|
* @return 解析后的地址
|
*
|
* 返回实例:
|
* ws://127.0.0.1:8080/live/test.flv
|
*
|
* 讲解:
|
* ws:// jessibuca格式开头
|
* 127.0.0.1 Monica实例启动地址
|
* :8080 启动Monica实例配置端口
|
* live/test StreamPath 是发布流的唯一标识,我们可以把它理解为网页的 url ,它是流传输服务中的 url 。你要发布一个流,就需要一个 StreamPath ,这里类比后端服务的发布,需要 ip 和对外暴露的端口一起组成一个 url 。
|
* .flv 视频流格式
|
*
|
*/
|
String parseVideo();
|
|
/**
|
* @param param StreamPath 是发布流的唯一标识
|
*/
|
void stopStream(String param);
|
}
|