|
mediastreamer2 5.1.64
|
#include <mediastream.h>

Data Fields | |
| MSResourceType | type |
| union { | |
| void * resource_arg | |
| const char * file | |
| RtpSession * session | |
| MSWebCam * camera | |
| MSSndCard * soundcard | |
| }; | |
Structure describing the input or the output of a MediaStream. type must be set to one the member of the MSResourceType enum, and the correspoding resource argument must be set: the file name (const char*) for MSResourceFile, the RtpSession for MSResourceRtp, an MSWebCam for MSResourceCamera, an MSSndCard for MSResourceSoundcard.