[Live-devel] testRTSPClient / H.264 Network Camera Stream

tboonefisher at clear.net tboonefisher at clear.net
Tue Apr 9 16:15:07 PDT 2013


    It must also be VERY frustrating to see these companies making $$$$$$$
from your very nice work !!!

Tom Fisher


-----Original Message----- 
From: tboonefisher at clear.net
Sent: Tuesday, April 09, 2013 6:05 PM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] testRTSPClient / H.264 Network Camera Stream

    This is BAD news as the camera is:

http://foscam.us/products/foscam-fi9821w-megapixel-wireless-ip-camera.html

    I am just an end-user and thus probably have little influence on them. I
will send them
the info that you suggest but I will be very surprised IF they respond. They
have their own ‘plug-in’ that works pretty well in IE and other apps.

    Are there any other possible work-arounds? Is possible that they are
using
MEDIASUBTYPE_AVC1 'AVC1' H.264(without start codes)? I did try
this(GetMediatype()), but
I have no decoders that will connect to that.....ughhhhhh.

Thanks very much for your help...

Tom Fisher
Dallas

From: Ross Finlayson
Sent: Tuesday, April 09, 2013 5:38 PM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] testRTSPClient / H.264 Network Camera Stream


    Reading further on your site I see that you may need the SDP description
from my camera stream.
[...]

v=0
o=- 1365522147122142 1 IN IP4 192.168.1.2
s=IP Camera Video
i=videoMain
t=0 0
a=tool:LIVE555 Streaming Media v2013.01.25
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:IP Camera Video
a=x-qt-text-inf:videoMain
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:96
a=rtpmap:96 H264/90000
a=control:track1
m=audio 0 RTP/AVP 0
c=IN IP4 0.0.0.0
b=AS:64
a=control:track2


OK, the bug here is in your server - i.e., the camera; not the client.  The
camera (server) isn't including a "sprop-parameter-strings" parameter (in a
"a=fmtp:96..." line) in the SDP description.

Fortunately, however, I see that the camera (server) is also implemented
using our software, so it should be easy to fix.  Please tell whoever
developed your camera to:
(1) Upgrade to the latest version of the "LIVE555 Streaming Media" software,
and
(2) Either insert "SPS" and "PPS" NAL units at the start of the H.264 Video
stream (that it feeds into the "H264VideoRTPSink" object, or else change the
way that the "H264VideoRTPSink" object is created - to use one of the forms
of the "H264VideoRTPSink::createNew()" function that take "SPS"/"PPS" NAL
unit information as a parameter (either as raw binary NAL units, or a
"sPropParameterSetsStr" string).

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



_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel 



More information about the live-devel mailing list