|
@@ -2411,8 +2411,8 @@ ErrorCodeEnum CLocalMediaPlayEntity::StartFFPlayerNotice(int nCfgInx, int nWndX,
|
|
|
}
|
|
|
|
|
|
m_mediaParam.nCfgInx = nCfgInx;
|
|
|
- m_mediaParam.nWndX = 1280;
|
|
|
- m_mediaParam.nWndY = 0;
|
|
|
+ m_mediaParam.nWndX = nWndX;
|
|
|
+ m_mediaParam.nWndY = nWndY;
|
|
|
m_mediaParam.nWndWidth = nWndWidth;
|
|
|
m_mediaParam.nWndHeight = nWndHeight;
|
|
|
|
|
@@ -2724,7 +2724,7 @@ void CLocalMediaPlaySession::Handle_StartPlayNotice(SpReqAnsContext<PlayService_
|
|
|
}
|
|
|
|
|
|
CSimpleStringA VideoName = CSimpleStringW2A(ctx->Req.VideoName);
|
|
|
- //DbgWithLink(LOG_LEVEL_INFO, LOG_TYPE_SYSTEM)("start play notice, CfgInx = %d, WndX = %d, WndY = %d, WndWidth = %d, WndHeight = %d, and video name is %s.", ctx->Req.CfgInx, ctx->Req.WndX, ctx->Req.WndY, ctx->Req.WndWidth, ctx->Req.WndHeight, VideoName.GetData());
|
|
|
+ DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM)("start play notice, CfgInx = %d, WndX = %d, WndY = %d, WndWidth = %d, WndHeight = %d, and video name is %s.", ctx->Req.CfgInx, ctx->Req.WndX, ctx->Req.WndY, ctx->Req.WndWidth, ctx->Req.WndHeight, VideoName.GetData());
|
|
|
Error = m_pEntity->StartNotice(ctx->Req.CfgInx, ctx->Req.WndX, ctx->Req.WndY, ctx->Req.WndWidth, ctx->Req.WndHeight, VideoName.GetData());
|
|
|
ctx->Answer(Error);
|
|
|
}
|
|
@@ -2732,7 +2732,7 @@ void CLocalMediaPlaySession::Handle_StartPlayNotice(SpReqAnsContext<PlayService_
|
|
|
void CLocalMediaPlaySession::Handle_StopPlayNotice(SpReqAnsContext<PlayService_StopPlayNotice_Req, PlayService_StopPlayNotice_Ans>::Pointer ctx)
|
|
|
{
|
|
|
DbgToBeidou(ctx->link, __FUNCTION__)();
|
|
|
- //DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM)("stop play notice, Index:%d", ctx->Req.CfgInx);
|
|
|
+ DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM)("stop play notice, Index:%d", ctx->Req.CfgInx);
|
|
|
ErrorCodeEnum Error = m_pEntity->StopNotice(ctx->Req.CfgInx);
|
|
|
ctx->Answer(Error);
|
|
|
}
|