| 29 | { |
| 30 | |
| 31 | PluginEventRouter::PluginEventRouter(const std::shared_ptr<RdApplication>& app) { |
| 32 | app_ = app; |
| 33 | context_ = app->GetContext(); |
| 34 | plugin_manager_ = context_->GetPluginManager(); |
| 35 | stream_event_router_ = std::make_shared<PluginStreamEventRouter>(app); |
| 36 | net_event_router_ = std::make_shared<PluginNetEventRouter>(app); |
| 37 | msg_notifier_ = app_->GetContext()->GetMessageNotifier(); |
| 38 | stat_ = RdStatistics::Instance(); |
| 39 | } |
| 40 | |
| 41 | void PluginEventRouter::ProcessPluginEvent(const std::shared_ptr<GrPluginBaseEvent>& event) { |
| 42 | // encoded video frame |
nothing calls this directly
no test coverage detected