GstRtspServer.RTSPMountPoints¶
| Subclasses: | None | 
|---|
Methods¶
| Inherited: | GObject.Object (37) | 
|---|---|
| Structs: | GObject.ObjectClass (5) | 
| class | new() | 
| add_factory(path, factory) | |
| make_path(url) | |
| match(path) | |
| remove_factory(path) | 
Properties¶
None
Signals¶
| Inherited: | GObject.Object (1) | 
|---|
Class Details¶
- 
class GstRtspServer.RTSPMountPoints(**kwargs)¶
- Bases: - GObject.Object- Abstract: - No - Structure: - GstRtspServer.RTSPMountPointsClass- Creates a - GstRtspServer.RTSPMediaFactoryobject for a given url.- 
classmethod new()[source]¶
- Returns: - a new - GstRtspServer.RTSPMountPoints- Return type: - GstRtspServer.RTSPMountPoints- Make a new mount points object. 
 - 
add_factory(path, factory)[source]¶
- Parameters: - path (str) – a mount point
- factory (GstRtspServer.RTSPMediaFactory) – aGstRtspServer.RTSPMediaFactory
 - Attach factory to the mount point path in self. - path is of the form (/node)+. Any previous mount point will be freed. - Ownership is taken of the reference on factory so that factory should not be used after calling this function. 
- path (
 - 
make_path(url)[source]¶
- Parameters: - url ( - GstRtsp.RTSPUrl) – a- GstRtsp.RTSPUrl- Returns: - a path string for url, - GLib.free() after usage.- Return type: - stror- None- Make a path string from url. 
 - 
match(path)[source]¶
- Parameters: - path ( - str) – a mount point- Returns: - the - GstRtspServer.RTSPMediaFactoryfor path.- GObject.Object.unref() after usage.- matched: - the amount of path matched - Return type: - ( - GstRtspServer.RTSPMediaFactory, matched:- int)- Find the factory in self that has the longest match with path. - If matched is - None, path will match the factory exactly otherwise the amount of characters that matched is returned in matched.
 - 
remove_factory(path)[source]¶
- Parameters: - path ( - str) – a mount point- Remove the - GstRtspServer.RTSPMediaFactoryassociated with path in self.
 - 
do_make_path(url) virtual¶
- Parameters: - url ( - GstRtsp.RTSPUrl) – a- GstRtsp.RTSPUrl- Returns: - a path string for url, - GLib.free() after usage.- Return type: - stror- None- Make a path string from url. 
 
- 
classmethod