Lines Matching defs:channelMsg
398 auto channelMsg = std::static_pointer_cast<ChannelEventMsg>(statusMsg->msg);
399 channelMsg->prosumerId = prosumerId_;
400 channelMsg->agentId = GetId();
401 channelMsg->errorCode = statusMsg->msg->errorCode;
402 channelMsg->requestId = statusMsg->msg->requestId;
462 auto channelMsg = std::make_shared<ChannelEventMsg>();
463 RETURN_IF_NULL(channelMsg);
464 channelMsg->agentId = GetId();
465 channelMsg->toMgr = ModuleType::MODULE_MEDIACHANNEL;
466 channelMsg->dstId = mediaChannelId_;
467 channelMsg->prosumerId = prosumerId_;
468 channelMsg->type = eventType;
469 channelMsg->errorCode = statusMsg->msg->errorCode;
470 channelMsg->requestId = statusMsg->msg->requestId;
474 agentMsg->msg = std::move(channelMsg);
490 auto channelMsg = std::make_shared<ChannelAppendSurfaceEventMsg>();
491 RETURN_IF_NULL(channelMsg);
492 channelMsg->agentId = GetId();
493 channelMsg->toMgr = ModuleType::MODULE_MEDIACHANNEL;
494 channelMsg->dstId = mediaChannelId_;
495 channelMsg->prosumerId = prosumerId_;
496 channelMsg->type = eventType;
497 channelMsg->surface = statusMsg->surface;
498 channelMsg->sceneType = statusMsg->sceneType;
499 channelMsg->errorCode = statusMsg->msg->errorCode;
500 channelMsg->requestId = statusMsg->msg->requestId;
504 agentMsg->msg = std::move(channelMsg);
520 auto channelMsg = std::make_shared<ChannelRemoveSurfaceEventMsg>();
521 RETURN_IF_NULL(channelMsg);
522 channelMsg->agentId = GetId();
523 channelMsg->toMgr = ModuleType::MODULE_MEDIACHANNEL;
524 channelMsg->dstId = mediaChannelId_;
525 channelMsg->prosumerId = prosumerId_;
526 channelMsg->type = eventType;
527 channelMsg->surfaceId = statusMsg->surfaceId;
528 channelMsg->errorCode = statusMsg->msg->errorCode;
529 channelMsg->requestId = statusMsg->msg->requestId;
533 agentMsg->msg = std::move(channelMsg);
549 auto channelMsg = std::make_shared<ChannelSetSceneTypeEventMsg>();
550 RETURN_IF_NULL(channelMsg);
551 channelMsg->agentId = GetId();
552 channelMsg->toMgr = ModuleType::MODULE_MEDIACHANNEL;
553 channelMsg->dstId = mediaChannelId_;
554 channelMsg->prosumerId = prosumerId_;
555 channelMsg->type = eventType;
556 channelMsg->surfaceId = statusMsg->surfaceId;
557 channelMsg->sceneType = statusMsg->sceneType;
558 channelMsg->errorCode = statusMsg->msg->errorCode;
559 channelMsg->requestId = statusMsg->msg->requestId;
563 agentMsg->msg = std::move(channelMsg);
579 auto channelMsg = std::make_shared<ChannelSetKeyRedirectEventMsg>();
580 RETURN_IF_NULL(channelMsg);
581 channelMsg->agentId = GetId();
582 channelMsg->toMgr = ModuleType::MODULE_MEDIACHANNEL;
583 channelMsg->dstId = mediaChannelId_;
584 channelMsg->prosumerId = prosumerId_;
585 channelMsg->type = eventType;
586 channelMsg->surfaceId = statusMsg->surfaceId;
587 channelMsg->keyRedirect = statusMsg->keyRedirect;
588 channelMsg->errorCode = statusMsg->msg->errorCode;
589 channelMsg->requestId = statusMsg->msg->requestId;
593 agentMsg->msg = std::move(channelMsg);
609 auto channelMsg = std::make_shared<ChannelSetVolumeEventMsg>();
610 RETURN_IF_NULL(channelMsg);
611 channelMsg->agentId = GetId();
612 channelMsg->toMgr = ModuleType::MODULE_MEDIACHANNEL;
613 channelMsg->dstId = mediaChannelId_;
614 channelMsg->prosumerId = prosumerId_;
615 channelMsg->type = eventType;
616 channelMsg->volume = statusMsg->volume;
617 channelMsg->errorCode = statusMsg->msg->errorCode;
618 channelMsg->requestId = statusMsg->msg->requestId;
622 agentMsg->msg = std::move(channelMsg);