Struct gstreamer_net::NetTimeProvider []

pub struct NetTimeProvider(_, _);

This object exposes the time of a gst::Clock on the network.

A NetTimeProvider is created with NetTimeProvider::new which takes a gst::Clock, an address and a port number as arguments.

After creating the object, a client clock such as NetClientClock can query the exposed clock over the network for its values.

The NetTimeProvider typically wraps the clock used by a gst::Pipeline.

Implements

gst::ObjectExt, glib::object::ObjectExt

Methods

impl NetTimeProvider
[src]

[src]

Allows network clients to get the current time of clock.

clock

a gst::Clock to export over the network

address

an address to bind on as a dotted quad (xxx.xxx.xxx.xxx), IPv6 address, or NULL to bind to all addresses

port

a port to bind on, or 0 to let the kernel choose

Returns

the new NetTimeProvider, or NULL on error

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl Clone for NetTimeProvider

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for NetTimeProvider

Formats the value using the given formatter. Read more

impl Hash for NetTimeProvider

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl StaticType for NetTimeProvider

Returns the type identifier of Self.

impl<T: IsA<Object>> PartialEq<T> for NetTimeProvider

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for NetTimeProvider

impl IsA<Object> for NetTimeProvider

impl IsA<Object> for NetTimeProvider

impl Send for NetTimeProvider
[src]

impl Sync for NetTimeProvider
[src]