Commit graph

12 commits

Author SHA1 Message Date
Wim Taymans
f2c9b6badd stream: handle renegotiation
Don't allow multiple connects on a stream, you need to first disconnect.
Make sure we disconnect before reconnecting again in the source.
2015-08-25 16:36:01 +02:00
Wim Taymans
ec5b9b26df small cleanups and some leak fixing 2015-08-24 16:55:29 +02:00
Wim Taymans
c47fcd8105 Rework the wire protocol
Send a command stream over the socket.
Implement a new buffer object that holds the data and commands.
Make iterator and builders to parse and construct buffers.
Rework gstreamer elements to use new API for creating and parsing
buffers.
Add _release_buffer to notify a stream when we are done processing the
buffer. This will eventually go all the way to the server and will allow
us to do more complicated buffer management.
2015-08-24 16:41:04 +02:00
Wim Taymans
e9c72a6102 output: send output properties in start
Also send the output properties in start, along with the format.
2015-08-21 11:45:38 +02:00
Wim Taymans
6611061683 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.
2015-08-13 11:37:10 +02:00
Wim Taymans
b055748b1c introspect: add change_mask to introspect
Add a bitmask field to mark what fields have changed since the last
introspection call. We can then remove the properties from the subscribe
call.
2015-08-05 11:57:02 +02:00
Wim Taymans
8361f74646 introspect: improve instrospection
Pass changed properties around so that we can print them
2015-08-04 17:37:25 +02:00
Wim Taymans
13d846ec38 Improve introspection
Add instrospection of client and source-output.
Add properties to source-output and to CreateSourceOutput/Input
Add helper to fill properties of context.
Add client-name to pinossrc and pinossink
Improve test-subscribe to show all new introspection details.
2015-07-28 17:05:03 +02:00
Wim Taymans
31da833069 properties: pass PinosProperties around
Pass PinosProperties around instead of GVariant. This is much easier to
deal with.
2015-07-17 16:57:01 +02:00
Wim Taymans
f268cdfda6 Try to use source_path consistently 2015-07-09 17:58:54 +02:00
Wim Taymans
533ec2c19d stream: Use path as the string identifier for a source
Cleanup headers
avoid strlen because we can
2015-07-09 17:31:31 +02:00
Wim Taymans
a3505fb880 more rename PV -> PINOS, Pv -> Pinos, pv -> pinos 2015-07-07 16:46:23 +02:00
Renamed from src/client/pv-stream.c (Browse further)