mediastreamer2 5.2.0
|
#include <mediastream.h>
Data Fields | ||
MSResourceType | type | |
union { | ||
void * resource_arg | ||
const char * file | ||
RtpSession * session | ||
MSWebCam * camera | ||
MSSndCard * soundcard | ||
MSFilter * itc | ||
}; | ||
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. an MSFilter for MSResourceItc