[Live-devel] Some stupid questions
Dixon Siu
dixonsiu at mediaglue.co.jp
Fri May 7 17:41:46 PDT 2004
Hi,
When you use RTSP without specific indication, you are unicasting through
UDP. As you indicated from your email, the user types in the URL of the
machine. Therefore, it is multicasting since it is not a multicast address.
Maybe you want to check if any firewall (either the server network or the
LAN) is blocking UDP access.
Sorry that I can't give much info.
Regards,
Dixon Siu
-----Original Message-----
From: live-devel-bounces at ns.live.com
[mailto:live-devel-bounces at ns.live.com]On Behalf Of Riccardo Rosapepe
Sent: Saturday, May 08, 2004 1:12 AM
To: live-devel at ns.live.com
Subject: [Live-devel] Some stupid questions
Dear Mr. Finlayson,
Thank you for the excellent job that you did with live.com streaming
libraries.
I implemented a streaming application on the top of testMPEG4VideoStreamer
test program.
My app grabs video from an usb device then encodes the grabbed frame in
mpeg4 format ( using ffmpeg 0.4.8 codec ) and streams it over the network.
I wrote "VideoDeviceSource" a "FramedSource" subclass that delivers video
frames to the RTPSink, following your suggestions in the faq and after a
little debugging everything went ok.
Now, there are 2 different scenarios:
1) When the streaming server ( my application ) is on a LAN i can stream
multicast and play stream on a client machine on the same LAN using VLC or
Quicktime and the url in the format
rtsp://url_of_the_machine:7070/testStream ...the players can play the stream
very well and everything is fine!
2) When the streaming server ( my application ) is NOT a LAN but on a
machine that has a gprsmodem with a SIM card that, connecting via ppp bridge
obtains an url from an internet provider , VLC or Quicktime are not able to
play the url in the format rtsp://url_given_from_provider:7070/testStream .
Why?
Consider that the machine with gprs modem is a linux box and, after
obtained an url from a provider ( e.g.: 217.40.15.218) i can open an ssh
tunnel from a machine on the LAN ( 192.168.1.55 ) to this machine just
typing ssh root at url_given_from_provider and the command succeeds. Maybe
because ssh services uses simple tcp?
Should i stream using unicast?
If yes.. how? How can i quickly change my program? Your suggestions in the
faq
--------"In "test*Streamer.cpp", change "destinationAddressStr" to the
(unicast) IP address of the intended destination. In the corresponding
"test*Receiver.cpp", change "sessionAddressStr" to "0.0.0.0". ------
don't seem to work. Should i open url in vlc like rtsp://0.0.0.0 ?
Please help me, i'm stuck with it and in my company we desperately need to
stream using a wireless box.
p.S.: When i'll find a solution there is another question. GPRS bandwidth
is very low ( 12 kbits/s )
My actual settings are: size: 176x144, fps :5, qmin = 3; qmax = 31;
bitrate = 4. Is there any other improvement that i can apply to achieve
better performance?
p.p.s: Why realPlayer( version 10 ) doesn't read streams from
testMPEG1or2VideoStreamer ?
Thanks in advice for your help.
Riccardo Rosapepe
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.677 / Virus Database: 439 - Release Date: 2004/05/04
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live.com/pipermail/live-devel/attachments/20040507/cd99b45e/attachment-0001.html
More information about the live-devel
mailing list