
Functions | |
| janus_plugin_result * | janus_plugin_result_new (janus_plugin_result_type type, const char *text, json_t *content) |
| Helper to quickly create a janus_plugin_result instance. More... | |
| void | janus_plugin_result_destroy (janus_plugin_result *result) |
| Helper to quickly destroy a janus_plugin_result instance. More... | |
| void | janus_plugin_rtp_extensions_reset (janus_plugin_rtp_extensions *extensions) |
| Helper method to initialise/reset the RTP extensions field. More... | |
| void | janus_plugin_rtp_reset (janus_plugin_rtp *packet) |
| Helper method to initialise/reset the RTP packet. More... | |
| void | janus_plugin_rtcp_reset (janus_plugin_rtcp *packet) |
| Helper method to initialise/reset the RTCP packet. More... | |
| void | janus_plugin_data_reset (janus_plugin_data *packet) |
| Helper method to initialise/reset the data message. More... | |
| void janus_plugin_data_reset | ( | janus_plugin_data * | packet | ) |
Helper method to initialise/reset the data message.
| [in] | packet | Pointer to the janus_plugin_data message to reset |
| void janus_plugin_result_destroy | ( | janus_plugin_result * | result | ) |
Helper to quickly destroy a janus_plugin_result instance.
| [in] | result | The janus_plugin_result instance to destroy |
| janus_plugin_result* janus_plugin_result_new | ( | janus_plugin_result_type | type, |
| const char * | text, | ||
| json_t * | content | ||
| ) |
Helper to quickly create a janus_plugin_result instance.
| [in] | type | The type of result |
| [in] | text | String to add to the result (for JANUS_PLUGIN_OK_WAIT or JANUS_PLUGIN_ERROR), if any |
| [in] | content | The json_t object with the content of the result, if any |
| void janus_plugin_rtcp_reset | ( | janus_plugin_rtcp * | packet | ) |
Helper method to initialise/reset the RTCP packet.
| [in] | packet | Pointer to the janus_plugin_rtcp packet to reset |
| void janus_plugin_rtp_extensions_reset | ( | janus_plugin_rtp_extensions * | extensions | ) |
Helper method to initialise/reset the RTP extensions field.
| [in] | extensions | Pointer to the janus_plugin_rtp_extensions instance to reset |
| void janus_plugin_rtp_reset | ( | janus_plugin_rtp * | packet | ) |
Helper method to initialise/reset the RTP packet.
| [in] | packet | Pointer to the janus_plugin_rtp packet to reset |