#include <call.hpp>
This structure contains parameters for Call::onStreamCreated() callback.
◆ stream
Audio media stream, read-only.
◆ streamIdx
unsigned pj::OnStreamCreatedParam::streamIdx |
Stream index in the audio media session, read-only.
◆ destroyPort
bool pj::OnStreamCreatedParam::destroyPort |
Specify if PJSUA2 should take ownership of the port returned in the pPort parameter below. If set to PJ_TRUE, pjmedia_port_destroy() will be called on the port when it is no longer needed.
Default: PJ_FALSE
◆ pPort
On input, it specifies the audio media port of the stream. Application may modify this pointer to point to different media port to be registered to the conference bridge.
The documentation for this struct was generated from the following file: