新增 Mjpegplayer 用来播放 Web 流

This commit is contained in:
2026-01-21 19:03:59 +08:00
parent f79cb6e74d
commit c438edfa0d
71 changed files with 4538 additions and 452 deletions

View 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
}
}