Fork me on GitHub
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
janus_plugin_result Struct Reference

Janus plugin result. More...

#include <plugin.h>

Data Fields

janus_plugin_result_type type
 Result type.
char * content
 Result content.

Detailed Description

Janus plugin result.

Field Documentation

char* janus_plugin_result::content

Result content.

Note
This MUST be a valid JSON payload in case of JANUS_PLUGIN_OK (even when returning application level errors), and MUST be a generic string in case of JANUS_PLUGIN_ERROR. If returning a JANUS_PLUGIN_OK_WAIT, the content is optional, but if provided (e.g., if the plugin wants to provide verbose info about the reasons for choosing an async approach) the content MUST be a generic string, as it will end up in a string element in the JSON ack response.
janus_plugin_result_type janus_plugin_result::type

Result type.


The documentation for this struct was generated from the following file: