Implementation of ReceiverNodeConcept.
More...
#include <receiver_node.hpp>
|
MaterialBrushSharedPtr | m_brush |
| The brush to render the material.
|
|
MaterialSharedPtr | m_material |
| Disable these to favor connect input service Default value for kanzi::Node::HitTestableProperty.
|
|
TextureSharedPtr | m_uTexture |
| The texture that contains the u-channel of the frame.
|
|
TextureSharedPtr | m_vTexture |
| The texture that contains the v-channel of the frame.
|
|
TextureSharedPtr | m_yTexture |
| The texture that contains the y-channel of the frame.
|
|
template<typename TBaseClass, typename TDerivedClass>
class kanzi::connect::ReceiverNodeConceptImpl< TBaseClass, TDerivedClass >
Implementation of ReceiverNodeConcept.
ReceiverNodeConceptImpl can only be accessed from the signaling thread unless otherwise noted.
◆ OutputTextureIndex
template<typename TBaseClass , typename TDerivedClass >
Enumerator |
---|
YTexture | Y-channel texture for the video encoder.
|
UTexture | U-channel texture for the video encoder.
|
VTexture | V-channel texture for the video encoder.
|
◆ ReceiverNodeConceptImpl()
template<typename TBaseClass , typename TDerivedClass >
◆ getStreamId()
template<typename TBaseClass , typename TDerivedClass >
◆ initialize()
template<typename TBaseClass , typename TDerivedClass >
◆ initializeStreamManager()
template<typename TBaseClass , typename TDerivedClass >
◆ makeEditorInfo()
template<typename TBaseClass , typename TDerivedClass >
◆ onAttached()
template<typename TBaseClass , typename TDerivedClass >
kanzi::Node::onAttached() implementation.
◆ onDetached()
template<typename TBaseClass , typename TDerivedClass >
kanzi::Node::onDetached() implementation.
◆ onFrame()
template<typename TBaseClass , typename TDerivedClass >
Processes frames that are received through a PeerConnection.
The sink calls this whenever it receives a new frame. Can be called from any thread.
- Parameters
-
frame | The frame that was received. |
◆ onNodePropertyChanged()
template<typename TBaseClass , typename TDerivedClass >
kanzi::Node::onPropertyChanged implementation.
◆ setStreamId()
template<typename TBaseClass , typename TDerivedClass >
◆ updateTexturesTask()
template<typename TBaseClass , typename TDerivedClass >
Handler for kanzi::PanManipulator::StartedMessage.
- Parameters
-
args | Message arguments. Handler for kanzi::PanManipulator::MovedMessage. |
args | Message arguments. Handler for kanzi::PanManipulator::FinishedMessage. |
args | Message arguments. Handles ReceiverNode pan events. Pan message handlers call this whenever a pan message is received. |
state | State of the pan event. |
args | Pan message arguments. A task that updates the internal YUV textures with data contained in the buffer. The textures are recreated if the buffer size does not match the texture size. |
buffer | The buffer that contains the data for the textures. |
◆ m_brush
template<typename TBaseClass , typename TDerivedClass >
The brush to render the material.
◆ m_material
template<typename TBaseClass , typename TDerivedClass >
Disable these to favor connect input service Default value for kanzi::Node::HitTestableProperty.
Default value for kanzi::Node::FocusableProperty. The material that is used to render the received frames.
◆ m_uTexture
template<typename TBaseClass , typename TDerivedClass >
The texture that contains the u-channel of the frame.
◆ m_vTexture
template<typename TBaseClass , typename TDerivedClass >
The texture that contains the v-channel of the frame.
◆ m_yTexture
template<typename TBaseClass , typename TDerivedClass >
The texture that contains the y-channel of the frame.
The documentation for this class was generated from the following files:
- connect/kanzi_adaptation/viewport/receiver_node.hpp
- connect/kanzi_adaptation/viewport/receiver_node_concept_impl.hpp