GstNet.NetTimeProvider¶
| Subclasses: | None | 
|---|
Methods¶
| Inherited: | Gst.Object (27), GObject.Object (37), Gio.Initable (2) | 
|---|---|
| Structs: | GObject.ObjectClass (5) | 
| class | new(clock, address, port) | 
Virtual Methods¶
| Inherited: | Gst.Object (1), GObject.Object (7), Gio.Initable (1) | 
|---|
Properties¶
| Inherited: | Gst.Object (2) | 
|---|
| Name | Type | Flags | Short Description | 
|---|---|---|---|
| active | bool | r/w | Trueif the clock will respond to queries over the network | 
| address | str | r/w/co | The address to bind on, as a dotted quad (x.x.x.x) | 
| clock | Gst.Clock | r/w/co | The clock to export over the network | 
| port | int | r/w/co | The port to receive the packets from, 0=allocate | 
| qos-dscp | int | r/w | Quality of Service, differentiated services code point (-1 default) | 
Signals¶
| Inherited: | Gst.Object (1), GObject.Object (1) | 
|---|
Fields¶
| Inherited: | Gst.Object (1), GObject.Object (1) | 
|---|
| Name | Type | Access | Description | 
|---|---|---|---|
| parent | Gst.Object | r | 
Class Details¶
- 
class GstNet.NetTimeProvider(**kwargs)¶
- Bases: - Gst.Object,- Gio.Initable- Abstract: - No - Structure: - GstNet.NetTimeProviderClass- This object exposes the time of a - Gst.Clockon the network.- A - GstNet.NetTimeProvideris created with- GstNet.NetTimeProvider.new() which takes a- Gst.Clock, an address and a port number as arguments.- After creating the object, a client clock such as - GstNet.NetClientClockcan query the exposed clock over the network for its values.- The - GstNet.NetTimeProvidertypically wraps the clock used by a- Gst.Pipeline.- 
classmethod new(clock, address, port)[source]¶
- Parameters: - Returns: - the new - GstNet.NetTimeProvider, or- Noneon error- Return type: - Allows network clients to get the current time of clock. 
 
- 
classmethod 
Property Details¶
- 
GstNet.NetTimeProvider.props.active¶
- Name: - active- Type: - bool- Default Value: - True- Flags: - READABLE,- WRITABLE- Trueif the clock will respond to queries over the network
- 
GstNet.NetTimeProvider.props.address¶
- Name: - address- Type: - str- Default Value: - '0.0.0.0'- Flags: - READABLE,- WRITABLE,- CONSTRUCT_ONLY- The address to bind on, as a dotted quad (x.x.x.x) 
- 
GstNet.NetTimeProvider.props.clock¶
- Name: - clock- Type: - Gst.Clock- Default Value: - None- Flags: - READABLE,- WRITABLE,- CONSTRUCT_ONLY- The clock to export over the network 
- 
GstNet.NetTimeProvider.props.port¶
- Name: - port- Type: - int- Default Value: - 5637- Flags: - READABLE,- WRITABLE,- CONSTRUCT_ONLY- The port to receive the packets from, 0=allocate