profile/ivi/rygel.git
15 years agoMore extensive use of (async) GIO.
Zeeshan Ali (Khattak) [Sun, 18 Jan 2009 19:27:44 +0000 (19:27 +0000)]
More extensive use of (async) GIO.

svn path=/trunk/; revision=449

15 years agoSeek class should reside in the same place as HTTPResponse.
Zeeshan Ali (Khattak) [Sun, 18 Jan 2009 19:27:40 +0000 (19:27 +0000)]
Seek class should reside in the same place as HTTPResponse.

svn path=/trunk/; revision=448

15 years agoPut Interactive response handling into a separate class.
Zeeshan Ali (Khattak) [Sun, 18 Jan 2009 19:27:35 +0000 (19:27 +0000)]
Put Interactive response handling into a separate class.

svn path=/trunk/; revision=447

15 years agoSmall beautification change.
Zeeshan Ali (Khattak) [Sun, 18 Jan 2009 19:27:31 +0000 (19:27 +0000)]
Small beautification change.

svn path=/trunk/; revision=446

15 years agoRename 'eos' signal of HTTPResponse to 'ended'.
Zeeshan Ali (Khattak) [Sun, 18 Jan 2009 19:27:26 +0000 (19:27 +0000)]
Rename 'eos' signal of HTTPResponse to 'ended'.

svn path=/trunk/; revision=445

15 years agoRename GstStream to StreamingResponse.
Zeeshan Ali (Khattak) [Sun, 18 Jan 2009 19:27:22 +0000 (19:27 +0000)]
Rename GstStream to StreamingResponse.

svn path=/trunk/; revision=444

15 years agoRename Steam to HTTPResponse.
Zeeshan Ali (Khattak) [Sun, 18 Jan 2009 19:27:17 +0000 (19:27 +0000)]
Rename Steam to HTTPResponse.

svn path=/trunk/; revision=443

15 years agoRename Streamer to HTTPServer.
Zeeshan Ali (Khattak) [Sun, 18 Jan 2009 19:27:11 +0000 (19:27 +0000)]
Rename Streamer to HTTPServer.

svn path=/trunk/; revision=442

15 years agoGstStream decides about chunking of message.
Zeeshan Ali (Khattak) [Sun, 18 Jan 2009 19:26:59 +0000 (19:26 +0000)]
GstStream decides about chunking of message.

svn path=/trunk/; revision=441

15 years agoHandle item as interactive if it's size is known.
Zeeshan Ali (Khattak) [Tue, 13 Jan 2009 14:33:35 +0000 (14:33 +0000)]
Handle item as interactive if it's size is known.

svn path=/trunk/; revision=440

15 years agoDon't handle seeking when streaming.
Zeeshan Ali (Khattak) [Tue, 13 Jan 2009 14:33:32 +0000 (14:33 +0000)]
Don't handle seeking when streaming.

Turns out that seeking wasn't as simple as sending a seek event
to the pipeline.

svn path=/trunk/; revision=439

15 years agoFlush the AsyncQueue when the stream ends.
Zeeshan Ali (Khattak) [Tue, 13 Jan 2009 14:33:29 +0000 (14:33 +0000)]
Flush the AsyncQueue when the stream ends.

svn path=/trunk/; revision=438

15 years agoUse try_pop() instead of blocking pop() on AsyncQueue.
Zeeshan Ali (Khattak) [Tue, 13 Jan 2009 14:33:25 +0000 (14:33 +0000)]
Use try_pop() instead of blocking pop() on AsyncQueue.

svn path=/trunk/; revision=437

15 years agoOnly seek on upstream state change to PAUSED.
Zeeshan Ali (Khattak) [Tue, 13 Jan 2009 14:33:22 +0000 (14:33 +0000)]
Only seek on upstream state change to PAUSED.

svn path=/trunk/; revision=436

15 years agoAdd an auto-updated length property to Seek.
Zeeshan Ali (Khattak) [Tue, 13 Jan 2009 14:33:18 +0000 (14:33 +0000)]
Add an auto-updated length property to Seek.

Seek now derives from GLib.Object.

svn path=/trunk/; revision=435

15 years agooffset in a file should be less than length of the file.
Zeeshan Ali (Khattak) [Tue, 13 Jan 2009 14:33:14 +0000 (14:33 +0000)]
offset in a file should be less than length of the file.

svn path=/trunk/; revision=434

15 years agoUse pointers for dealing with raw data instead of strings.
Zeeshan Ali (Khattak) [Tue, 13 Jan 2009 14:33:10 +0000 (14:33 +0000)]
Use pointers for dealing with raw data instead of strings.

svn path=/trunk/; revision=433

15 years agoNo need to use GUPnP namespace everywhere.
Zeeshan Ali (Khattak) [Tue, 13 Jan 2009 14:33:06 +0000 (14:33 +0000)]
No need to use GUPnP namespace everywhere.

svn path=/trunk/; revision=432

15 years agoClaim DLNA BG transfer mode for known-sized items.
Zeeshan Ali (Khattak) [Tue, 13 Jan 2009 14:33:03 +0000 (14:33 +0000)]
Claim DLNA BG transfer mode for known-sized items.

svn path=/trunk/; revision=431

15 years agoCheck only prefix of MediaItem.upnp_class.
Zeeshan Ali (Khattak) [Tue, 13 Jan 2009 14:32:59 +0000 (14:32 +0000)]
Check only prefix of MediaItem.upnp_class.

svn path=/trunk/; revision=430

15 years agoAlways include Content-Range if size of item is known.
Zeeshan Ali (Khattak) [Tue, 13 Jan 2009 14:32:56 +0000 (14:32 +0000)]
Always include Content-Range if size of item is known.

DLNA requirement 7.4.35.7.

svn path=/trunk/; revision=429

15 years agoUse a private class to pass around seek parameters.
Zeeshan Ali (Khattak) [Tue, 13 Jan 2009 14:32:52 +0000 (14:32 +0000)]
Use a private class to pass around seek parameters.

Instead of passing around seek parameters to all functions, just create a
small class that keeps the parameters and use that.

svn path=/trunk/; revision=428

15 years agoGstStream overrides end() rather than providing stop().
Zeeshan Ali (Khattak) [Tue, 13 Jan 2009 14:32:48 +0000 (14:32 +0000)]
GstStream overrides end() rather than providing stop().

svn path=/trunk/; revision=427

15 years agoBetter error handling.
Zeeshan Ali (Khattak) [Tue, 13 Jan 2009 14:32:44 +0000 (14:32 +0000)]
Better error handling.

Stream should end itself if pads/elements don't get linked.

svn path=/trunk/; revision=426

15 years agoGstStream now inherits from Stream.
Zeeshan Ali (Khattak) [Tue, 13 Jan 2009 14:32:41 +0000 (14:32 +0000)]
GstStream now inherits from Stream.

As a consequence, Streamer just uses GstStream only.

svn path=/trunk/; revision=425

15 years agoRemove unused Stream.accepted() method.
Zeeshan Ali (Khattak) [Tue, 13 Jan 2009 14:32:36 +0000 (14:32 +0000)]
Remove unused Stream.accepted() method.

svn path=/trunk/; revision=424

15 years agoGo to PAUSED state first and then PLAYING.
Zeeshan Ali (Khattak) [Tue, 13 Jan 2009 14:32:33 +0000 (14:32 +0000)]
Go to PAUSED state first and then PLAYING.

This is to ensure that seek event is sent to pipeline before it goes to
PLAYING state. This could be the solution to mp3 not working on PS3.

svn path=/trunk/; revision=423

15 years agoGstStream provides means to start and stop the stream.
Zeeshan Ali (Khattak) [Tue, 13 Jan 2009 14:32:29 +0000 (14:32 +0000)]
GstStream provides means to start and stop the stream.

svn path=/trunk/; revision=422

15 years agoRange header doesn't necessarily imply partial content request.
Zeeshan Ali (Khattak) [Tue, 13 Jan 2009 14:32:25 +0000 (14:32 +0000)]
Range header doesn't necessarily imply partial content request.

svn path=/trunk/; revision=421

15 years agotcp_timeout prop of rtspsrc is 64-bit.
Zeeshan Ali (Khattak) [Tue, 13 Jan 2009 14:32:21 +0000 (14:32 +0000)]
tcp_timeout prop of rtspsrc is 64-bit.

Fixes a crash.

svn path=/trunk/; revision=420

15 years agoRange requests are valid when size > 0.
Zeeshan Ali (Khattak) [Tue, 13 Jan 2009 14:32:17 +0000 (14:32 +0000)]
Range requests are valid when size > 0.

svn path=/trunk/; revision=419

15 years agoNew low-level Streamer API.
Zeeshan Ali (Khattak) [Tue, 13 Jan 2009 14:32:12 +0000 (14:32 +0000)]
New low-level Streamer API.

Instead of emitting a signal for availability of a new stream, signal for
need of a gst source element if no URI is provided by the requested item.

This only works for streaming media.

svn path=/trunk/; revision=418

15 years agoAllow items to not provide URIs.
Zeeshan Ali (Khattak) [Tue, 13 Jan 2009 14:32:08 +0000 (14:32 +0000)]
Allow items to not provide URIs.

svn path=/trunk/; revision=417

15 years agoNo need for a separate 'live' boolean in MediaItem.
Zeeshan Ali (Khattak) [Wed, 7 Jan 2009 12:56:12 +0000 (12:56 +0000)]
No need for a separate 'live' boolean in MediaItem.

Check if size of resource is known, instead.

svn path=/trunk/; revision=416

15 years agoImplement partial download (Range header).
Zeeshan Ali (Khattak) [Wed, 7 Jan 2009 12:56:08 +0000 (12:56 +0000)]
Implement partial download (Range header).

Seems to work pretty well against PS3 but I did observe stream hanging
once.

svn path=/trunk/; revision=415

15 years agoStream needs to know if it's accepted for a partial download.
Zeeshan Ali (Khattak) [Wed, 7 Jan 2009 12:56:04 +0000 (12:56 +0000)]
Stream needs to know if it's accepted for a partial download.

svn path=/trunk/; revision=414

15 years agoUse the name of the device group as it's title.
Zeeshan Ali (Khattak) [Wed, 7 Jan 2009 12:56:00 +0000 (12:56 +0000)]
Use the name of the device group as it's title.

svn path=/trunk/; revision=413

15 years agoMark image items as 'interactive' in the DIDL.
Zeeshan Ali (Khattak) [Wed, 7 Jan 2009 12:55:55 +0000 (12:55 +0000)]
Mark image items as 'interactive' in the DIDL.

svn path=/trunk/; revision=412

15 years agoDeclare Test and DVB items, live.
Zeeshan Ali (Khattak) [Wed, 7 Jan 2009 12:55:50 +0000 (12:55 +0000)]
Declare Test and DVB items, live.

svn path=/trunk/; revision=411

15 years agoOnly claim Range (seek) operation for non-live items.
Zeeshan Ali (Khattak) [Wed, 7 Jan 2009 12:55:44 +0000 (12:55 +0000)]
Only claim Range (seek) operation for non-live items.

svn path=/trunk/; revision=410

15 years agoDon't claim to support DLNA's bg transfer mode and connection stalling.
Zeeshan Ali (Khattak) [Wed, 7 Jan 2009 12:55:37 +0000 (12:55 +0000)]
Don't claim to support DLNA's bg transfer mode and connection stalling.

svn path=/trunk/; revision=409

15 years agoAdd a basic release plan.
Zeeshan Ali (Khattak) [Fri, 2 Jan 2009 13:50:39 +0000 (13:50 +0000)]
Add a basic release plan.

svn path=/trunk/; revision=408

15 years agoDon't put iconList in description if there isn't any icon.
Zeeshan Ali (Khattak) [Tue, 30 Dec 2008 16:04:37 +0000 (16:04 +0000)]
Don't put iconList in description if there isn't any icon.

Providing an empty iconList was causing problems with gupnp-*-cp and PS3.
PS3 was just ignoring the whole Media Server instance and gupnp-*-cp were
segfaulting (that bug has long been fixed in gupnp though).

svn path=/trunk/; revision=407

15 years agoChoose the highest ranking RTP depayloader.
Zeeshan Ali (Khattak) [Mon, 29 Dec 2008 16:10:03 +0000 (16:10 +0000)]
Choose the highest ranking RTP depayloader.

svn path=/trunk/; revision=406

15 years agoAsk for compatible pad rather than by name.
Zeeshan Ali (Khattak) [Mon, 29 Dec 2008 16:09:59 +0000 (16:09 +0000)]
Ask for compatible pad rather than by name.

svn path=/trunk/; revision=405

15 years agoRefactor get_rtp_depayloader().
Zeeshan Ali (Khattak) [Mon, 29 Dec 2008 16:09:56 +0000 (16:09 +0000)]
Refactor get_rtp_depayloader().

svn path=/trunk/; revision=404

15 years agoAutoplug an RTP depayloader if needed.
Zeeshan Ali (Khattak) [Mon, 29 Dec 2008 16:09:52 +0000 (16:09 +0000)]
Autoplug an RTP depayloader if needed.

This fixes the artifacts/hickups in case of DVB streams on the client-side.

svn path=/trunk/; revision=403

15 years agoSet the "tcp-timeout" to 1 min for rtspsrc.
Zeeshan Ali (Khattak) [Sun, 28 Dec 2008 16:48:10 +0000 (16:48 +0000)]
Set the "tcp-timeout" to 1 min for rtspsrc.

This is to make sure we wait for DVBDaemon to start the stream.

svn path=/trunk/; revision=402

15 years agoHandle dynamic pads.
Zeeshan Ali (Khattak) [Sun, 28 Dec 2008 16:48:07 +0000 (16:48 +0000)]
Handle dynamic pads.

If source element doesn't have any pads, wait for a pad to be added to it
before linking it to sink.

svn path=/trunk/; revision=401

15 years agothrow an error if elements fail to link.
Zeeshan Ali (Khattak) [Sun, 28 Dec 2008 16:48:03 +0000 (16:48 +0000)]
throw an error if elements fail to link.

svn path=/trunk/; revision=400

15 years agoGIO api update.
Zeeshan Ali (Khattak) [Sun, 28 Dec 2008 16:48:00 +0000 (16:48 +0000)]
GIO api update.

GLib.File.load_contents() doesn't return unowned string anymore.

svn path=/trunk/; revision=399

15 years agoStreamer properly handles interactive contents.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 12:02:21 +0000 (12:02 +0000)]
Streamer properly handles interactive contents.

Currently just images.

svn path=/trunk/; revision=398

15 years agoRename Streamer.handle_item_stream to handle_streaming_item.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 12:02:16 +0000 (12:02 +0000)]
Rename Streamer.handle_item_stream to handle_streaming_item.

svn path=/trunk/; revision=397

15 years agoRefactor Streamer.handle_item_request().
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 12:02:08 +0000 (12:02 +0000)]
Refactor Streamer.handle_item_request().

svn path=/trunk/; revision=396

15 years agoSend a 404 if Streamer fails to create a stream from item.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 12:02:04 +0000 (12:02 +0000)]
Send a 404 if Streamer fails to create a stream from item.

Streamer.handle_item() sets the appropriate status code on HTTP message
if it fails to handle it.

svn path=/trunk/; revision=395

15 years agoEntertain Streamer.item_requested in DVBChannelGroup.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 12:02:00 +0000 (12:02 +0000)]
Entertain Streamer.item_requested in DVBChannelGroup.

svn path=/trunk/; revision=394

15 years agoDVBChannelGroup.find_channel() doesn't need didl_writer arg.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 12:01:55 +0000 (12:01 +0000)]
DVBChannelGroup.find_channel() doesn't need didl_writer arg.

svn path=/trunk/; revision=393

15 years agoStreamer only entertains 'HEAD' and 'GET' requests.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 12:01:50 +0000 (12:01 +0000)]
Streamer only entertains 'HEAD' and 'GET' requests.

svn path=/trunk/; revision=392

15 years agoStreamer only adds headers if values provided by MediaItem.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 12:01:45 +0000 (12:01 +0000)]
Streamer only adds headers if values provided by MediaItem.

svn path=/trunk/; revision=391

15 years agoDVBChannel constructor should chain-up to it's parent.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 12:01:40 +0000 (12:01 +0000)]
DVBChannel constructor should chain-up to it's parent.

svn path=/trunk/; revision=390

15 years agoAdd a prefix to Streamer's hosted path.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 12:01:35 +0000 (12:01 +0000)]
Add a prefix to Streamer's hosted path.

This is to make sure it doesn't conflict with any other paths hosted by the
HTTP server.

svn path=/trunk/; revision=389

15 years agoTrackerItem* should throw the error rather than acting on it.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 12:01:31 +0000 (12:01 +0000)]
TrackerItem* should throw the error rather than acting on it.

svn path=/trunk/; revision=388

15 years agoRemove leaky hack to assign unowned strings to weak fields.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 12:01:26 +0000 (12:01 +0000)]
Remove leaky hack to assign unowned strings to weak fields.

The fields are no longer 'weak' so unowned strings can simply be assigned
to them and vala will take care of them for us.

svn path=/trunk/; revision=387

15 years agoMimetype is "video/mpeg" for radio channels as well.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 12:01:21 +0000 (12:01 +0000)]
Mimetype is "video/mpeg" for radio channels as well.

This is since they are also contained in an mpeg transport stream. The
UPnP type for items however remains different so CPs and MRs can still
differentiate between them.

svn path=/trunk/; revision=386

15 years agoCorrect(swap) the logic of differenciating audio from video.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 12:01:11 +0000 (12:01 +0000)]
Correct(swap) the logic of differenciating audio from video.

svn path=/trunk/; revision=385

15 years agoCorrect the leaky hack to initialize DIDLLiteResource fields.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 12:01:06 +0000 (12:01 +0000)]
Correct the leaky hack to initialize DIDLLiteResource fields.

svn path=/trunk/; revision=384

15 years agoInitialize the important fields of DVBChannel.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 12:01:01 +0000 (12:01 +0000)]
Initialize the important fields of DVBChannel.

svn path=/trunk/; revision=383

15 years agoCatch the error from DVBChannel creation method.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 12:00:57 +0000 (12:00 +0000)]
Catch the error from DVBChannel creation method.

svn path=/trunk/; revision=382

15 years agoRefactor DVBChannelGroup construction method.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 12:00:53 +0000 (12:00 +0000)]
Refactor DVBChannelGroup construction method.

svn path=/trunk/; revision=381

15 years agoLet DVBContentDir create the ChannelList proxy.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 12:00:48 +0000 (12:00 +0000)]
Let DVBContentDir create the ChannelList proxy.

svn path=/trunk/; revision=380

15 years agoUpdate the child_count once it's known.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 12:00:44 +0000 (12:00 +0000)]
Update the child_count once it's known.

svn path=/trunk/; revision=379

15 years agoDon't throw an error if there are no channels in group.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 12:00:40 +0000 (12:00 +0000)]
Don't throw an error if there are no channels in group.

svn path=/trunk/; revision=378

15 years agoAdd DVB plugin.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 12:00:35 +0000 (12:00 +0000)]
Add DVB plugin.

Right now it only builds, haven't tested because of broken python jhbuild.

svn path=/trunk/; revision=377

15 years agoStreamer only provide headers on "HEAD" requests.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 12:00:29 +0000 (12:00 +0000)]
Streamer only provide headers on "HEAD" requests.

svn path=/trunk/; revision=376

15 years agoStreamer puts essential headers into streams.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 12:00:25 +0000 (12:00 +0000)]
Streamer puts essential headers into streams.

Streamer puts "Content-Type" and "Content-Length" headers into streams.

svn path=/trunk/; revision=375

15 years agoMediaTracker provides the item when requested by Streamer.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 12:00:21 +0000 (12:00 +0000)]
MediaTracker provides the item when requested by Streamer.

svn path=/trunk/; revision=374

15 years agoInitialize the local variable before using.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 12:00:11 +0000 (12:00 +0000)]
Initialize the local variable before using.

svn path=/trunk/; revision=373

15 years agoMediaTracker keeps a ref to Streamer instance.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 12:00:06 +0000 (12:00 +0000)]
MediaTracker keeps a ref to Streamer instance.

svn path=/trunk/; revision=372

15 years agoAdd API to get the MediaItem, given it's ID.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 11:59:58 +0000 (11:59 +0000)]
Add API to get the MediaItem, given it's ID.

svn path=/trunk/; revision=371

15 years agoUse ID of MediaItem instead of URI in the proxy URIs.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 11:59:53 +0000 (11:59 +0000)]
Use ID of MediaItem instead of URI in the proxy URIs.

On getting an HTTP request for an item, Streamer will emit a signal to get
the MediaItem instance requested.

svn path=/trunk/; revision=370

15 years agoDefine and use enums for metadata array indices.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 11:59:47 +0000 (11:59 +0000)]
Define and use enums for metadata array indices.

svn path=/trunk/; revision=369

15 years agoInclude file size of the item in the DIDL.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 11:59:42 +0000 (11:59 +0000)]
Include file size of the item in the DIDL.

svn path=/trunk/; revision=368

15 years agoNo need to keep the keys in the TrackerItem class.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 11:59:37 +0000 (11:59 +0000)]
No need to keep the keys in the TrackerItem class.

svn path=/trunk/; revision=367

15 years agoMediaItem keeps a res struct instead of res fields itself.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 11:59:31 +0000 (11:59 +0000)]
MediaItem keeps a res struct instead of res fields itself.

svn path=/trunk/; revision=366

15 years agoAdd the original res at the end of the DIDL.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 11:59:26 +0000 (11:59 +0000)]
Add the original res at the end of the DIDL.

For compatibility with crappy MediaRenderers just takes the first res
from the DIDL rather than the one they can handle.

svn path=/trunk/; revision=365

15 years agoTracker items fetch metadata at contruction time.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 11:59:15 +0000 (11:59 +0000)]
Tracker items fetch metadata at contruction time.

svn path=/trunk/; revision=364

15 years agoHandle important messages on the pipeline bus.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 11:59:10 +0000 (11:59 +0000)]
Handle important messages on the pipeline bus.

svn path=/trunk/; revision=363

15 years agoMediaItem adds transcoded resources to the DIDL.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 11:59:05 +0000 (11:59 +0000)]
MediaItem adds transcoded resources to the DIDL.

ATM it's just the HTTP URI that the new Streamer API creates for us.

svn path=/trunk/; revision=362

15 years agoMediaItem now just use Streamer instead of GUPnP.Context.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 11:58:59 +0000 (11:58 +0000)]
MediaItem now just use Streamer instead of GUPnP.Context.

svn path=/trunk/; revision=361

15 years agoAdd gstreamer CFLAGS and LIBS to tracker plugin build.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 11:58:53 +0000 (11:58 +0000)]
Add gstreamer CFLAGS and LIBS to tracker plugin build.

svn path=/trunk/; revision=360

15 years agoSupport streaming from URIs other than HTTP.
Zeeshan Ali (Khattak) [Thu, 25 Dec 2008 11:58:46 +0000 (11:58 +0000)]
Support streaming from URIs other than HTTP.

This could be any URI that gstreamer have a source element to handle it
through.

svn path=/trunk/; revision=359

15 years agoAllow URIs of protocols other than HTTP.
Zeeshan Ali (Khattak) [Tue, 16 Dec 2008 14:31:38 +0000 (14:31 +0000)]
Allow URIs of protocols other than HTTP.

We don't assume the protocol to be HTTP anymore but guess it from URI.

svn path=/trunk/; revision=358

15 years agoIntroduce an Error to serialize method.
Zeeshan Ali (Khattak) [Tue, 16 Dec 2008 14:31:34 +0000 (14:31 +0000)]
Introduce an Error to serialize method.

svn path=/trunk/; revision=357

15 years agoUse mpeg2 video inside mpeg transport stream.
Zeeshan Ali (Khattak) [Tue, 16 Dec 2008 14:31:30 +0000 (14:31 +0000)]
Use mpeg2 video inside mpeg transport stream.

Use mpeg2 video inside mpeg transport stream rather than H.263 in AVI.

svn path=/trunk/; revision=356

15 years agoTell libsoup to not accumulate the chunks.
Zeeshan Ali (Khattak) [Tue, 16 Dec 2008 14:31:26 +0000 (14:31 +0000)]
Tell libsoup to not accumulate the chunks.

Otherwise the memory usage keeps rising and rising.

svn path=/trunk/; revision=355

15 years agoStream should only end if the abort signal is for it's message.
Zeeshan Ali (Khattak) [Tue, 16 Dec 2008 14:31:22 +0000 (14:31 +0000)]
Stream should only end if the abort signal is for it's message.

svn path=/trunk/; revision=354

15 years agoTest plugin only gets built/installed if enabled.
Zeeshan Ali (Khattak) [Sun, 14 Dec 2008 20:23:04 +0000 (20:23 +0000)]
Test plugin only gets built/installed if enabled.

svn path=/trunk/; revision=353

15 years agoUse fakesink instead of appsink.
Zeeshan Ali (Khattak) [Sun, 14 Dec 2008 20:23:00 +0000 (20:23 +0000)]
Use fakesink instead of appsink.

appsink is currently in gst-plugins-bad and no distro ships it.

svn path=/trunk/; revision=352

15 years agoMinor refactoring.
Zeeshan Ali (Khattak) [Sun, 14 Dec 2008 20:22:56 +0000 (20:22 +0000)]
Minor refactoring.

svn path=/trunk/; revision=351

15 years agoDon't send out prerolled buffers.
Zeeshan Ali (Khattak) [Sun, 14 Dec 2008 20:22:46 +0000 (20:22 +0000)]
Don't send out prerolled buffers.

Apparently this was causing the problems of receiving side unable to
handle (recognise and decode) the incoming stream.

svn path=/trunk/; revision=350