All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Rémi Denis-Courmont" <rdenis@simphalempin.com>
To: dccp@vger.kernel.org
Subject: Re: DCCP support in VLC
Date: Fri, 28 Sep 2007 15:25:58 +0000	[thread overview]
Message-ID: <200709281825.58935.rdenis@simphalempin.com> (raw)
In-Reply-To: <200709271930.03854.rdenis@simphalempin.com>

Le Friday 28 September 2007 14:33:51 Gerrit Renker, vous avez écrit :
> When the Reset closing the connection arrives, the same shutdown mask is
> set as in TCP. What I thus think you could do as a
> test-for-end-of-connection is to test whether the socket descriptor is
> still read/writeable.

If it works like TCP, shutdown-for-recv will make the socket always readable, 
and will not affect writeability at all, since the sending half may still be 
open. As such, I don't think it will solve the problem.

Currently, I am assuming that length = 0 means end-of-connection, because I 
only use RTP/RTCP, so zero bytes is not a valid packet length. But that's a 
little bit ugly.

Other than that, and apart from pending DCCP service code support I am happy 
to announce that the official VLC development tree now support DCCP 
out-of-the-box with RTP.

Manually, on the sender (assuming sender IP is 2001:db8::1):
$ vlc -vv /dev/dvd \
--sout '#rtp{dccp,mux=ts,portP04}'

On the receiver:
$ vlc -vv dccp://[2001:db8::1]:5004

Or advertized with SAP, on the sender:
$ vlc -vv /dev/dvd \
--sout '#rtp{dccp,mux=ts,portP04,dst 01:db8::1,sdp=sap,name=MyDVD}'

On the receiver, enable SAP service discovery and click MyDVD from the 
playlist.


We cannot support multiple streams per session, because the live555 library 
does not support DCCP at this time. But TS multiplexing works great anyway.

Thanks for your help!

-- 
Rémi Denis-Courmont
http://www.remlab.net/

  parent reply	other threads:[~2007-09-28 15:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-27 16:30 DCCP support in VLC Rémi Denis-Courmont
2007-09-28 11:33 ` Gerrit Renker
2007-09-28 15:25 ` Rémi Denis-Courmont [this message]
2007-09-28 15:40 ` Gerrit Renker
2007-09-29 11:52 ` Rémi Denis-Courmont
2007-09-29 16:52 ` Gerrit Renker
2007-10-01  6:23 ` Gorry Fairhurst
2007-10-06 21:55 ` Eddie Kohler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200709281825.58935.rdenis@simphalempin.com \
    --to=rdenis@simphalempin.com \
    --cc=dccp@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.