新增 Mjpegplayer 用来播放 Web 流
This commit is contained in:
28
SHH.MjpegPlayer/Server/MjpegImagesService.cs
Normal file
28
SHH.MjpegPlayer/Server/MjpegImagesService.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using Player.MJPEG;
|
||||
|
||||
namespace SHH.MjpegPlayer
|
||||
{
|
||||
/// <summary>
|
||||
/// MjpegImagesService 服务
|
||||
/// </summary>
|
||||
public class MjpegImagesService : CoreImagesService, IMjpegImagesService
|
||||
{
|
||||
#region GetRtspRtcPlayInfo
|
||||
|
||||
/// <summary>
|
||||
/// 获取 RtspRtc 播放信息
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public MjpegPlayInfoReply GetRtspRtcPlayInfo()
|
||||
{
|
||||
var reply = new MjpegPlayInfoReply();
|
||||
|
||||
// 发送消息
|
||||
PrismMsg<MjpegPlayInfoReply>.Publish(reply);
|
||||
|
||||
return reply;
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user