Improve state management

Split setup of pipeline and state change to inspect the pipeline formats
and properties. Pass the device monitor caps to the gstreamer source so
that we don't have to query that again.

Work on adding time provider to the sender pipeline. Send the port and
address to the client in the source-output object properties.

Improve properties API and add some more docs.
This commit is contained in:
Wim Taymans 2015-08-13 11:37:10 +02:00
parent 1c2fbac587
commit 6611061683
7 changed files with 227 additions and 38 deletions

View file

@ -53,10 +53,11 @@ struct _PinosGstSourceClass {
GType pinos_gst_source_get_type (void);
PinosSource * pinos_gst_source_new (PinosDaemon *daemon,
const gchar *name,
PinosSource * pinos_gst_source_new (PinosDaemon *daemon,
const gchar *name,
PinosProperties *properties,
GstElement *element);
GstElement *element,
GstCaps *caps);
G_END_DECLS