[ppsp] swift can't read live stream from URL

David Jonsson <davidjonssonsweden@gmail.com> Sat, 20 December 2014 14:05 UTC

Return-Path: <davidjonssonsweden@gmail.com>
X-Original-To: ppsp@ietfa.amsl.com
Delivered-To: ppsp@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9C3721AC3DF for <ppsp@ietfa.amsl.com>; Sat, 20 Dec 2014 06:05:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.703
X-Spam-Level:
X-Spam-Status: No, score=0.703 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, NORMAL_HTTP_TO_IP=0.001, SPF_PASS=-0.001, WEIRD_PORT=0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bCr1oAXNM_6f for <ppsp@ietfa.amsl.com>; Sat, 20 Dec 2014 06:05:33 -0800 (PST)
Received: from mail-la0-x230.google.com (mail-la0-x230.google.com [IPv6:2a00:1450:4010:c03::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8A0E51A6F81 for <ppsp@ietf.org>; Sat, 20 Dec 2014 06:05:32 -0800 (PST)
Received: by mail-la0-f48.google.com with SMTP id gf13so2197741lab.35 for <ppsp@ietf.org>; Sat, 20 Dec 2014 06:05:30 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=uYAkylc4QGnXN2e8Kp7cWXAAUfiWLrmDUX2XHPGqaaA=; b=ZUe5XO0xvOFaA/ZQ02Iv85KUe3iKxtd4I8ss/+2L+YHzAgZk8Gig6ymVbiNVKk7Giq XAGku8gLmwgyrEEQldZ55fhZhs2EJNCsxi5RU7DeatqqoMsl6L1nd4p3CyAT5AT81ihZ vrhYRSZcIiO6I0AA7XzKraAI4KV23VOpLDPD89GcWIN2LT3d1kzNrPLKpdtgDayE+T1l XFOtpirUDO77yOHXO1nTzHauSLaTgqOi/YOx+NzuS9aQfvgla8TwmCkqMtmLx3Nnr0Tu 4bfuwtANy+S9HfcPFos/WG+WNHJRl1CMd7RPtUKuLPxleC6t9Lnt1t/I07YpOunM67Hp zlwA==
MIME-Version: 1.0
X-Received: by 10.152.203.201 with SMTP id ks9mr12658201lac.57.1419084330618; Sat, 20 Dec 2014 06:05:30 -0800 (PST)
Received: by 10.114.183.18 with HTTP; Sat, 20 Dec 2014 06:05:30 -0800 (PST)
Date: Sat, 20 Dec 2014 15:05:30 +0100
Message-ID: <CAJKxeaLaphs2tqFLQUvZsyW=x+QhXmUNMCkgYjd943EO6zRT5w@mail.gmail.com>
From: David Jonsson <davidjonssonsweden@gmail.com>
To: "ppsp@ietf.org" <ppsp@ietf.org>
Content-Type: multipart/alternative; boundary="001a1134668a6ed578050aa651ac"
Archived-At: http://mailarchive.ietf.org/arch/msg/ppsp/YQd3tUQPTSwBbTUbvjc0mHNhGyM
Subject: [ppsp] swift can't read live stream from URL
X-BeenThere: ppsp@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: discussing to draw up peer to peer streaming protocol <ppsp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ppsp>, <mailto:ppsp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ppsp/>
List-Post: <mailto:ppsp@ietf.org>
List-Help: <mailto:ppsp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ppsp>, <mailto:ppsp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 20 Dec 2014 14:05:34 -0000

Seems like a

./swift  -i http://localhost:8090/t.mpg -t 83.250.200.95:20000
swift: My listen port is 41049
swift: siglen is 64
live: http: Reading from serv localhost port 8090 path /t.mpg
LiveTransfer::Initialize: cipm 3
LiveTransfer::Initialize: lsa  13
LiveTransfer::Initialize: ldw  4294967295
could not read live checkpoint file: No such file or directory
live: source: restored lastchunkid 0
swift::LiveCreate: swarmid:
0d0c05491881963ec86cc6752fe3bb7d32c8ee3faf6014960e83af0ee413e452af7b47b47d7713fa0de11d0544710ad84773328026d61a59936ce9fff295946797
swift::LiveCreate: ConnectToTracker
Segmentation fault (core dumped)


believes that the URL is a file

It does work with

wget -O - http://localhost:8090/t.mpg | ./swift  -i - -t 83.250.200.95:20000


David