Class: Gst::StreamCollection

Inherits:
Object
  • Object
show all
Defined in:
(unknown)

Overview

GstStreamCollection class structure

Instance Method Summary collapse

Methods inherited from Object

#add_control_binding, check_uniqueness, #control_bindings_disabled=, #control_rate, #control_rate=, default_deep_notify, #default_error, #get_control_binding, #get_g_value_array, #get_value, #get_value_array, #has_active_control_bindings, #has_ancestor, #has_as_ancestor, #has_as_parent, #name, #name=, #parent, #parent=, #path_string, #ref, ref_sink, #remove_control_binding, replace, #set_control_binding_disabled, #suggest_next_sync, #sync_values, #unparent, #unref

Constructor Details

#initialize(upstream_id) ⇒ Gst::StreamCollection

Create a new Gst::StreamCollection.

Parameters:

  • upstream_id (String)

    The stream id of the parent stream

Instance Method Details

#add_stream(stream) ⇒ Boolean

Add the given stream to the collection.

Parameters:

Returns:

  • (Boolean)

    true if the stream was properly added, else false

#get_stream(index) ⇒ Gst::Stream

Retrieve the Gst::Stream with index index from the collection.

The caller should not modify the returned Gst::Stream

Parameters:

  • index (Integer)

    Index of the stream to retrieve

Returns:

#sizeInteger

Get the number of streams this collection contains

Returns:

  • (Integer)

    The number of streams that collection contains

#upstream_idString

stream-id

Returns:

  • (String)

    upstream-id

#upstream_id=(upstream_id) ⇒ String

stream-id

Parameters:

  • upstream_id (String)

Returns:

  • (String)

    upstream-id

  • (String)

    upstream-id