upipe-modules/upipe_auto_source.h header reference
Header inclusion
Members
Type
Functions
- struct upipe_mgr * upipe_auto_src_mgr_alloc(void )
- int upipe_auto_src_mgr_get_mgr(struct upipe_mgr *mgr, const char *scheme, struct upipe_mgr **mgr_src_p)
- int upipe_auto_src_mgr_set_mgr(struct upipe_mgr *mgr, const char *scheme, struct upipe_mgr *mgr_src)
Members detail
This macro is declared in upipe-modules/upipe_auto_source.h source file, line 33.
This macro is declared in upipe-modules/upipe_auto_source.h source file, line 26.
This function is declared in upipe-modules/upipe_auto_source.h source file, line 82.
This function returns the management structure for auto source.
The return value is pointer to manager
This enum is declared in upipe-modules/upipe_auto_source.h source file, line 37.
This enum extends upipe_command with specific auto source commands.
Identifier | Value | Description |
---|---|---|
UPIPE_AUTO_SRC_MGR_SENTINEL | UPIPE_MGR_CONTROL_LOCAL | |
UPIPE_AUTO_SRC_MGR_SET_MGR | unknown | set the source manager for the given scheme |
UPIPE_AUTO_SRC_MGR_GET_MGR | unknown | get the source manager of the given scheme |
int upipe_auto_src_mgr_get_mgr(struct upipe_mgr *mgr, const char *scheme, struct upipe_mgr **mgr_src_p)
This function is declared in upipe-modules/upipe_auto_source.h source file, line 73.
This function gets the struct upipe_mgr * used for a given scheme.
Parameter list:
- mgr: pointer to upipe auto source manager
- scheme: an URI scheme (ex: "http", "file", "https", ...)
- mgr_src_p: a pointer filled with the struct upipe_mgr * used for the scheme
The return value is an error code
int upipe_auto_src_mgr_set_mgr(struct upipe_mgr *mgr, const char *scheme, struct upipe_mgr *mgr_src)
This function is declared in upipe-modules/upipe_auto_source.h source file, line 57.
This function sets the struct upipe_mgr * to use for the scheme.
Parameter list:
- mgr: pointer to upipe auto source manager
- scheme: an URI scheme (ex: "http", "file", "https", ...)
- mgr_src: the struct upipe_mgr * to use for the URI beginning with scheme
The return value is an error code