[Live-devel] RTP Multicast Streaming
Ahmet Duran Alincak
aduranalincak at oncamgrandeye.com
Tue Sep 17 01:05:42 PDT 2019
Hi,
I'm a little bit new on these subjects, so sorry for this. I reworded my question below. Thanks in advance.
We're multicast streaming video from an IP camera over RTP. But when we do this, we start streaming without having any RTSP PLAY command. And I guess our switches have layer2 support, so they send data to everyone. Apparently this makes our network very busy.
Is there any way not to stream multicast without having a RTSP PLAY command? And also we want to cut multicast streaming when there is no listener for the stream.
Is this possible? Or is it completely wrong thinking for a multicast stream?
Regards,
Ahmet.
-----Özgün İleti-----
Kimden: live-devel <live-devel-bounces at us.live555.com> Adına live-devel-request at us.live555.com
Tarih: Monday, September 16, 2019 10:00 PM
Kime: live-devel at us.live555.com
Konu: live-devel Digest, Vol 190, Issue 11
Send live-devel mailing list submissions to
live-devel at lists.live555.com
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.live555.com/mailman/listinfo/live-devel
or, via email, send a message with subject or body 'help' to
live-devel-request at lists.live555.com
You can reach the person managing the list at
live-devel-owner at lists.live555.com
When replying, please edit your Subject line so it is more specific than "Re: Contents of live-devel digest..."
Today's Topics:
1. RTP Multicast Streaming (Ahmet Duran Alincak)
2. Re: RTP Multicast Streaming (Ross Finlayson)
3. rtsp proxy error on first request (Yuri D'Elia)
4. Re: rtsp proxy error on first request (Ross Finlayson)
----------------------------------------------------------------------
Message: 1
Date: Mon, 16 Sep 2019 09:08:29 +0000
From: Ahmet Duran Alincak <aduranalincak at oncamgrandeye.com>
To: "live-devel at lists.live555.com" <live-devel at us.live555.com>
Subject: [Live-devel] RTP Multicast Streaming
Message-ID:
<VI1PR08MB354989AEB4E8848DEEC0CAA4B28C0 at VI1PR08MB3549.eurprd08.prod.outlook.com>
Content-Type: text/plain; charset="us-ascii"
Kimden: Ahmet Duran Alincak
Tarih: Friday, September 13, 2019 6:06 PM
Kime: live-devel at lists.live555.com
Konu: RTP Multicast Streaming
Hello,
We're streaming video from an IP camera using multicast streaming over RTP. But when we do this, we start streaming without having any RTP command. So, this makes our network very busy.
Is there any way not to stream multicast without having a RTP play command? And also we want to cut streaming when there is no listener for the stream.
Is this possible? Or is it completely wrong thinking for a multicast stream?
Regards,
Ahmet.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20190916/39a2ca8d/attachment-0001.htm>
------------------------------
Message: 2
Date: Mon, 16 Sep 2019 02:56:26 -0700
From: Ross Finlayson <finlayson at live555.com>
To: LIVE555 Streaming Media - development & use
<live-devel at us.live555.com>
Subject: Re: [Live-devel] RTP Multicast Streaming
Message-ID: <FB6063AD-9430-4311-9857-BF07B76619C2 at live555.com>
Content-Type: text/plain; charset=us-ascii
Ahmet,
You appear to be confused between RTSP (the control protocol, over TCP, that controls a stream), and RTP/RTCP (the protocol that is used to deliver the stream). Consequently, your question was rather unclear.
Please note the distinction between RTSP, and RTP/RTCP. Then please reword and resubmit your question.
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
------------------------------
Message: 3
Date: Mon, 16 Sep 2019 15:21:48 +0200
From: "Yuri D'Elia" <wavexx at thregr.org>
To: live-devel at us.live555.com
Subject: [Live-devel] rtsp proxy error on first request
Message-ID: <874l1ctlzn.fsf at wavexx.thregr.org>
Content-Type: text/plain
I've been using live555ProxyServer for a while, starting a couple of years ago and currently using 2019.08.28 from debian unstable.
I'm relaying an authenticated rtsp stream from a webcam.
I'm using proxyserver as follows:
live555ProxyServer -p 554 -R -U user pass 'rtsp://user:pass@cameraip/videostream'
Whenever I open the proxied video stream for the first time in a while, I get the following from the client (ffplay, vlc, or anything else):
Playing: rtsp://server/proxyStream [ffmpeg/demuxer] rtsp: method PLAY
failed: 454 Session Not Found
If I reopen the video stream immediately after that, it works.
As long as I keep open a video stream somewhere, the stream starts without issues.
I did some tests in the past:
- If I open the webcam stream directly, it always works, so even though
we're speaking about a cheapo no-brand usb webcam, I didn't have
issues when opening the stream directly from it.
- I cannot disable authentication on the webcam stream to test if
authentication is creating issues.
- I can (and tried) disabling authentication in proxyserver, but it made
no difference.
------------------------------
Message: 4
Date: Mon, 16 Sep 2019 10:59:03 -0700
From: Ross Finlayson <finlayson at live555.com>
To: LIVE555 Streaming Media - development & use
<live-devel at us.live555.com>
Subject: Re: [Live-devel] rtsp proxy error on first request
Message-ID: <F3D8B25C-6D6C-4F71-A890-497C4174328F at live555.com>
Content-Type: text/plain; charset=utf-8
> On Sep 16, 2019, at 6:21 AM, Yuri D'Elia <wavexx at thregr.org> wrote:
>
> I've been using live555ProxyServer for a while, starting a couple of
> years ago and currently using 2019.08.28 from debian unstable.
>
> I'm relaying an authenticated rtsp stream from a webcam.
> I'm using proxyserver as follows:
>
> live555ProxyServer -p 554 -R -U user pass 'rtsp://user:pass@cameraip/videostream?
Try instead:
live555ProxyServer -p 554 -u user pass 'rtsp://cameraip/videostream?
I.e., use "-u <username> <password>? (*not* -U), and don?t include the username:password in the RTSP URL.
> Whenever I open the proxied video stream for the first time in a
> while, I get the following from the client (ffplay, vlc, or anything else):
>
> Playing: rtsp://server/proxyStream [ffmpeg/demuxer] rtsp: method PLAY
> failed: 454 Session Not Found
Try adding the -V (upper-case V) option, to get verbose diagnostic output, and send us this diagnostic output, when the problem occurs.
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
------------------------------
Subject: Digest Footer
_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel
------------------------------
End of live-devel Digest, Vol 190, Issue 11
*******************************************
More information about the live-devel
mailing list