GstNet.NetTimeProvider¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
|
||
r/w/co |
The address to bind on, as a dotted quad (x.x.x.x) |
||
r/w/co |
The clock to export over the network |
||
r/w/co |
The port to receive the packets from, 0=allocate |
||
r/w |
Quality of Service, differentiated services code point (-1 default) |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class GstNet.NetTimeProvider(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
This object exposes the time of a
Gst.Clock
on the network.A
GstNet.NetTimeProvider
is created withGstNet.NetTimeProvider.new
() which takes aGst.Clock
, an address and a port number as arguments.After creating the object, a client clock such as
GstNet.NetClientClock
can query the exposed clock over the network for its values.The
GstNet.NetTimeProvider
typically wraps the clock used by aGst.Pipeline
.- classmethod new(clock, address, port)[source]¶
- Parameters:
- Returns:
the new
GstNet.NetTimeProvider
, orNone
on error- Return type:
Allows network clients to get the current time of clock.
Property Details¶
- GstNet.NetTimeProvider.props.address¶
- Name:
address
- Type:
- Default Value:
'0.0.0.0'
- Flags:
The address to bind on, as a dotted quad (x.x.x.x)
- GstNet.NetTimeProvider.props.clock¶
- Name:
clock
- Type:
- Default Value:
- Flags:
The clock to export over the network
- GstNet.NetTimeProvider.props.port¶
- Name:
port
- Type:
- Default Value:
5637
- Flags:
The port to receive the packets from, 0=allocate