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]

impl NetTimeProvider
[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

Trait Implementations

impl Clone for NetTimeProvider

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Hash for NetTimeProvider

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

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

impl Ord for NetTimeProvider

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. 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

This method tests for !=.

impl Eq for NetTimeProvider

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

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Debug for NetTimeProvider

Formats the value using the given formatter. Read more

impl IsA<Object> for NetTimeProvider

impl IsA<Object> for NetTimeProvider

impl Send for NetTimeProvider
[src]

impl Sync for NetTimeProvider
[src]