rygel r402 - trunk/src/rygel
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r402 - trunk/src/rygel
- Date: Sun, 28 Dec 2008 16:48:10 +0000 (UTC)
Author: zeeshanak
Date: Sun Dec 28 16:48:10 2008
New Revision: 402
URL: http://svn.gnome.org/viewvc/rygel?rev=402&view=rev
Log:
Set the "tcp-timeout" to 1 min for rtspsrc.
This is to make sure we wait for DVBDaemon to start the stream.
Modified:
trunk/src/rygel/rygel-streamer.vala
Modified: trunk/src/rygel/rygel-streamer.vala
==============================================================================
--- trunk/src/rygel/rygel-streamer.vala (original)
+++ trunk/src/rygel/rygel-streamer.vala Sun Dec 28 16:48:10 2008
@@ -181,13 +181,17 @@
string uri = item.res.uri;
// Create to Gst source that can handle the URI
- var src = Element.make_from_uri (URIType.SRC, uri, null);
+ dynamic Element src = Element.make_from_uri (URIType.SRC, uri, null);
if (src == null) {
warning ("Failed to create source element for URI: %s\n", uri);
msg.set_status (Soup.KnownStatusCode.NOT_FOUND);
return;
}
+ // For rtspsrc since some RTSP sources takes a while to start
+ // transmitting
+ src.tcp_timeout = 60000000;
+
// create a stream for it
var stream = new Stream (this.context.server, msg);
try {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]