ReceiverNodeConceptImpl

template<typename TBaseClass, typename TDerivedClass>
class kanzi::connect::ReceiverNodeConceptImpl : public TBaseClass, public ReceiverNodeConcept

Implementation of ReceiverNodeConcept.

ReceiverNodeConceptImpl can only be accessed from the signaling thread unless otherwise noted.

Public Functions

string getStreamId() const

Returns the value of the StreamIdProperty.

Return

The stream ID that the ReceiverNode is configured to receive.

See

setStreamId().

void initialize()

ReceiverNodeConceptImpl specific initialization.

void initializeStreamManager(size_t delay)
void onFrame(PixelFrameSharedPtr frame)

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.

void setStreamId(const string &streamId)

Sets the value of the StreamIdProperty.

See

getStreamId()

Parameters
  • streamId: The stream ID the ReceiverNode is to receive.

Public Static Functions

PropertyTypeEditorInfoSharedPtr makeEditorInfo()