[Live-devel] live-devel Digest, Vol 191, Issue 8

Shyam Kaundinya shyam.kaundinya at digitalforcetech.com
Fri Oct 25 12:34:23 PDT 2019


Re:
1. Re: How to get testOnDemandRTSPServer (unicast) to take a
      live h.264 feed coming from a UDP port (Ross Finlayson)

The h.264 comes in as non-RTP, raw UDP packets, to a unicast IP address (localhost) and -not- in NAL unit per UDP packet.
The UDP sender basically reads complete H.264 frames (SC+SPS+SC+PPS+SC+Iframe) or SC+Pframe retrieved from storage (where this data is stored in a proprietary format) and writes them to a UDP port. No RTP is involved here.

The BasicUDPSource running on the same device, listening on that UDP port, picks up this data as it comes in as the input source of the H264VideoStreamFramer. Hope that clarifies. Is there a different LIVE555 source that can process this kind of input? If so which one ?

Regards
Shyam

============


Get Outlook for Android<https://aka.ms/ghei36>

________________________________
From: live-devel <live-devel-bounces at us.live555.com> on behalf of live-devel-request at us.live555.com <live-devel-request at us.live555.com>
Sent: Friday, October 25, 2019, 12:02 PM
To: live-devel at us.live555.com
Subject: live-devel Digest, Vol 191, Issue 8

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. Re: How to get testOnDemandRTSPServer (unicast) to take a
      live h.264 feed coming from a UDP port (Ross Finlayson)
   2. [live555] same spspps in sdp for different video size for
      H264 streaming (Zhang Qian????)
   3. Re: [live555] same spspps in sdp for different video size for
      H264 streaming (Ross Finlayson)


----------------------------------------------------------------------

Message: 1
Date: Thu, 24 Oct 2019 16:15:43 -0700
From: Ross Finlayson <finlayson at live555.com>
To: LIVE555 Streaming Media - development & use
        <live-devel at us.live555.com>
Subject: Re: [Live-devel] How to get testOnDemandRTSPServer (unicast)
        to take a live h.264 feed coming from a UDP port
Message-ID: <AA3BDC02-77B1-4DF0-A19A-8879A4AB6922 at live555.com>
Content-Type: text/plain;       charset=utf-8



> On Oct 24, 2019, at 3:21 PM, Shyam Kaundinya <shyam.kaundinya at digitalforcetech.com> wrote:
>
> My goal is to modify testOnDemandRTSPServer (unicast) to take a live h.264 feed coming from a UDP port.

Before we can answer your question, we?d need to know exactly what you mean by ?coming from a UDP port?.  In other words, how is this H.264 feed being transmitted to the UDP port in the first place?
- Is it being sent as RTP/UDP packets (one H.264 NAL unit per RTP/UDP packet)?
- Or is it being sent as raw (i.e., non-RTP) UDP packets (again, H.264 NAL unit per UDP packet)?
- Or is it being sent over UDP in some other way?
And is this stream being sent to a multicast IP address, or to a unicast IP address (perhaps ?localhost?)?

You?re going to explain a *lot* more about what, specifically, you want to do.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/




------------------------------

Message: 2
Date: Fri, 25 Oct 2019 02:35:47 +0000
From: Zhang Qian???? <qianzhang at asrmicro.com>
To: "live-devel at lists.live555.com" <live-devel at us.live555.com>
Subject: [Live-devel] [live555] same spspps in sdp for different video
        size for H264 streaming
Message-ID: <cdda5e98660547418362da4787dbe2ac at mail2012.asrmicro.com>
Content-Type: text/plain; charset="gb2312"

Hi Ross,

I found the spspps value are same in sprop-parameter-sets for SDP when there are two H264 streaming wth different video resolution. (ie, 720p and 1080p).

For example.
If I start H264 rtsp streaming with 720p resolution for the first time, the spspps value in sprop-parameter-sets is right.
Then I start another H264 rtsp streaming with 1080p resolution, the spspps value in sprop-parameter-sets is same with 720p spspps value. It is reused and doesn?t update it for this rtsp negotiation.

Is it normal for this behavior?

Thanks.
/Qian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20191025/9b49c529/attachment-0001.htm>

------------------------------

Message: 3
Date: Thu, 24 Oct 2019 19:49:24 -0700
From: Ross Finlayson <finlayson at live555.com>
To: LIVE555 Streaming Media - development & use
        <live-devel at us.live555.com>
Subject: Re: [Live-devel] [live555] same spspps in sdp for different
        video size for H264 streaming
Message-ID: <C1F89655-F875-4473-A03A-12E8AFDBD9C0 at live555.com>
Content-Type: text/plain;       charset=utf-8



> On Oct 24, 2019, at 7:35 PM, Zhang Qian???? <qianzhang at asrmicro.com> wrote:
>
> Hi Ross,
>
> I found the spspps value are same in sprop-parameter-sets for SDP when there are two H264 streaming wth different video resolution. (ie, 720p and 1080p).
>
> For example.
> If I start H264 rtsp streaming with 720p resolution for the first time, the spspps value in sprop-parameter-sets is right.
> Then I start another H264 rtsp streaming with 1080p resolution, the spspps value in sprop-parameter-sets is same with 720p spspps value. It is reused and doesn?t update it for this rtsp negotiation.
>
> Is it normal for this behavior?

Yes, probably.  If you change the resolution (and/or aspect ratio) of your video stream, then you should probably use a different ?ServerMediaSubsession? object in your server.  I.e., destroy the old one; then create a new one in its place.

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 191, Issue 8
******************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20191025/f426f16e/attachment.htm>


More information about the live-devel mailing list