Hello,
you need to decide whether you want to use dtnstream or dtnsend/recv
For sending the MP3 something like
dtnsend dtn://debian/stream yousuffer.mp3
and keep th recv as it is.
If you want to use dtnstream, you need to use it on both sides:
On the sender side, dtnstream uses the stdin as input and the receiver will output the received stream to stdout. For example (streaming audio):
Sender: $ arecord -d 100 | dtnstream -c 5000 -d dtn://<your-host>/audio
Receiver: $ dtnstream -s audio | aplay
In your case it might be possible to "cat" the mp3 into dtnstream on the sender and pipe the output into vlc (using "-" as input file in VLC) to play it on the receiver, although I have not tested it.
MfG
Sebastian
Am 09.03.2012 um 22:09 schrieb Felipe Pereira:
Hello IBRDTN,
I can not receive packages.
I'm doing well, there's something wrong if you please help me:
#dtnstream
root@debian:/home/teste/ibrdtn-tools-0.6.5/src# ./dtnstream -d dtn://debian/stream yousuffer.mp3
#dtnrecv
teste@debian:~/ibrdtn-tools-0.6.5/src$ ./dtnrecv --file yousuffer.mp3 --name stream Wait for incoming bundle...
^C0 bundles received. Aborted. -- !! This message is brought to you via the `ibr-dtn' mailing list. !! Please do not reply to this message to unsubscribe. To unsubscribe or adjust !! your settings, send a mail message to ibr-dtn-request@ibr.cs.tu-bs.de !! or look at https://www.ibr.cs.tu-bs.de/mailman/listinfo/ibr-dtn.