| | |
| | | package com.ard.zlm.service; |
| | | |
| | | import com.ard.gb28181.api.domain.Device; |
| | | import com.ard.gb28181.api.domain.GbChannelDTO; |
| | | import com.ard.qs.api.domain.QsDevice; |
| | | import com.ard.work.api.domian.ArdChannel; |
| | | import com.ard.zlm.api.domain.*; |
| | | import com.ard.zlm.common.InviteSessionType; |
| | | import com.ard.zlm.domain.MediaServerLoad; |
| | |
| | | /** |
| | | * 开始播放 |
| | | * |
| | | * @param device 设备信息 |
| | | * @param channel 通道信息 |
| | | * @param record 是否录制 |
| | | * @param callback 回调 |
| | | */ |
| | | void play(QsDevice device, Boolean record, ErrorCallback<StreamInfo> callback); |
| | | void play(ArdChannel channel, Boolean record, ErrorCallback<StreamInfo> callback); |
| | | |
| | | /** |
| | | * 获取流媒体服务器负载 |
| | |
| | | */ |
| | | void stopGb28181Play(InviteSessionType type, QsDevice qsDevice, Device device, String stream); |
| | | |
| | | /** |
| | | * gb28181 播放(基于GbChannel,不依赖QS) |
| | | */ |
| | | void startGb28181PlayByGbChannel(GbChannelDTO gbChannelDTO, Device gbDevice, ErrorCallback<StreamInfo> callback); |
| | | |
| | | /** |
| | | * gb28181 停止点播(基于GbChannel,不依赖QS) |
| | | */ |
| | | void stopGb28181PlayByGbChannel(InviteSessionType type, GbChannelDTO gbChannelDTO, Device device, String stream); |
| | | } |