crtmpserver documentation and examples

9,435 views
Skip to first unread message

cosquer pascal

unread,
Feb 29, 2012, 4:02:09 AM2/29/12
to C++ RTMP Server
Hello crtmpd users ,


I dicovered crtmpserver for a few days and i really need help.

I read and read the technical doc but i'm still without solution.

I want to connect my IP camera to my UBUNTU/APACHE/CRTMPSERVER to
broadcast flash videos from the camera. I have read in the group here
that some users do that but all what i've tested doesn't match.

So i need your help for:

links for documentaion and examples
config file for rtsp to ip camera and flash server
my ip camera need user and password like this: rtsp://user:pass...@192.168.1.22:554/11
, can i tell crtmpserver
to authenticate my ip camera ?


Really thank you for your help.

Eric Pascal C.

qMax

unread,
Feb 29, 2012, 11:37:12 AM2/29/12
to C++ RTMP Server
You need to specify this in externalStreams of flvplayback application
like:
externalStreams =
{ {
uri="rtsp://user:pass@ip/"
localStreamName="cam"
} }

Then just access the stream via rtmp://yourcrtmpserver/cam

But beware: IP-cameras may provide audio with a codec or samplerate
incompatible with flash players (for instance, G.711 or PCM)
(You could check compatibility with command: ffmpeg -i rtsp://camera -
vcodec copy -acodec copy test.flv)
In the case, you need to transcode audio stream.

crtmpserver can not do transcoding.

ffserver can, but it cannot provide rtmp (only "progressive download",
that is - a file of infinite size).

erlyvideo is announced to be able to transcode audio (at least from G.
711) but it is not (quite) free, and it is written in erlang.

wowza can everything out of the box, but it is monster and not a bit
free.

On Feb 29, 4:02 pm, cosquer pascal <cosqu...@gmail.com> wrote:
> Hello crtmpd users ,
>
> I dicovered crtmpserver for a few days and i really need help.
>
> I read and read the technical doc but i'm still without solution.
>
> I want to connect my IP camera to my UBUNTU/APACHE/CRTMPSERVER to
> broadcast flash videos from the camera. I have read in the group here
> that some users do that but all what i've tested doesn't match.
>
> So i need your help for:
>
> links for documentaion and examples
> config file for rtsp to ip camera and flash server
> my ip camera need user and password like this: rtsp://user:passw...@192.168.1.22:554/11

cosquer pascal

unread,
Feb 29, 2012, 2:41:25 PM2/29/12
to qMax, c-rtmp...@googlegroups.com
Hi,

I thank you for your response.

I tried
uri="rtsp://guest:gu...@192.168.1.22/11"
localStreamName="camera"

But i still cannot access to the camera.
This syntax works fine in VLC: rtsp:rtsp://guest:gu...@192.168.1.22/11

I don't know what to do .... and what to test. Is there another way to authenticate ?
here's my log file:

1330544353:3:/build/buildd/crtmpserver-0.0~dfsg+svn474/crtmpserver/src/crtmpserver.cpp:231:Run:GO! GO! GO! (6064)
1330544353:4:/build/buildd/crtmpserver-0.0~dfsg+svn474/thelib/src/netio/epoll/iohandlermanager.cpp:98:RegisterIOHandler:Handlers count changed: 12->13 IOHT_TCP_CARRIER
1330544353:4:/build/buildd/crtmpserver-0.0~dfsg+svn474/thelib/src/netio/epoll/iohandlermanager.cpp:107:UnRegisterIOHandler:Handlers count changed: 13->12 IOHT_TCP_CONNECTOR
1330544353:0:/build/buildd/crtmpserver-0.0~dfsg+svn474/thelib/src/protocols/rtp/basertspappprotocolhandler.cpp:736:HandleRTSPResponse:Response not yet implemented. request:
<MAP name="" isArray="false">
    <MAP name="firstLine" isArray="false">
        <STR name="method">DESCRIBE</STR>
        <STR name="url">rtsp://192.168.1.22:554/11</STR>
        <STR name="version">RTSP/1.0</STR>
    </MAP>
    <MAP name="headers" isArray="false">
        <STR name="Accept">application/sdp</STR>
        <STR name="Authorization">Basic Og==</STR>
        <STR name="CSeq">2</STR>
        <STR name="Server">C++ RTMP Server (http://www.rtmpd.com)</STR>
        <STR name="X-Powered-By">C++ RTMP Server (http://www.rtmpd.com)</STR>
    </MAP>
</MAP>
response:
<MAP name="" isArray="false">
    <MAP name="firstLine" isArray="false">
        <STR name="reason">Unauthorized</STR>
        <UINT32 name="statusCode">401</UINT32>
        <STR name="version">RTSP/1.0</STR>
    </MAP>
    <MAP name="headers" isArray="false">
        <STR name="Content-Length">0</STR>
        <STR name="Cseq">2</STR>
        <STR name="Server">HiIpcam/V100R003 VodServer/1.0.0</STR>
        <STR name="WWW-Authenticate">Digest realm="Hipcam RealServer", nonce="f92625afb0874549b91d45da9e340bc7"</STR>
    </MAP>
    <BOOL name="isRequest">false</BOOL>
</MAP>
1330544353:0:/build/buildd/crtmpserver-0.0~dfsg+svn474/thelib/src/protocols/rtp/rtspprotocol.cpp:197:SignalInputData:Unable to handle content
1330544353:0:/build/buildd/crtmpserver-0.0~dfsg+svn474/thelib/src/netio/epoll/tcpcarrier.cpp:88:OnEvent:Unable to signal data available
1330544353:6:/build/buildd/crtmpserver-0.0~dfsg+svn474/thelib/src/protocols/protocolmanager.cpp:43:EnqueueForDelete:Enqueue for delete for protool [TCP(3)] <-> RTSP(4)
1330544353:4:/build/buildd/crtmpserver-0.0~dfsg+svn474/thelib/src/netio/epoll/iohandlermanager.cpp:107:UnRegisterIOHandler:Handlers count changed: 12->11 IOHT_TCP_CARRIER
1330544353:6:/build/buildd/crtmpserver-0.0~dfsg+svn474/thelib/src/protocols/protocolmanager.cpp:43:EnqueueForDelete:Enqueue for delete for protool [RTSP(4)]
1330544353:6:/build/buildd/crtmpserver-0.0~dfsg+svn474/thelib/src/application/baseclientapplication.cpp:153:UnRegisterProtocol:Protocol [RTSP(4)] unregistered from application: flvplayback

Thanks


You received this message because you are subscribed to "C++ RTMP Server" mailing list.
To post to this group, send email to c-rtmp...@googlegroups.com
To unsubscribe from this group, send email to
c-rtmp-serve...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/c-rtmp-server?hl=en

cosquer pascal

unread,
Mar 1, 2012, 12:45:10 AM3/1/12
to c-rtmp...@googlegroups.com
can anyone test my camera trought rtsp via crtmpserver request ?
ip adresss is 89.85.245.210
ports 8080 http and 554 rtsp are opened
user guest password guest
very small bandwith
please tell me if crtmpserver external streams work.
camera is a h.264 foscam model.
thanx to come back to me.
eric pascal c.

C++ RTMP Server

unread,
Mar 1, 2012, 2:49:55 AM3/1/12
to c-rtmp...@googlegroups.com
Hi,

Please give us the complete URI. You gave us the ip/port/username/password. But you didn't gave us the stream name.

Cheers,
Andrei

cosquer pascal

unread,
Mar 1, 2012, 1:22:05 PM3/1/12
to C++ RTMP Server
hi Andrei,


The stream name is 11 or 12(mobile phones)

rtsp://guest:gu...@89.85.245.210:554/11

thank you for helping me.

eric Pascal C.

On 1 mar, 08:49, C++ RTMP Server <crtmpser...@gmail.com> wrote:
> Hi,
>
> Please give us the complete URI. You gave us the ip/port/username/password. But you didn't gave us the stream name.
>
> Cheers,
> Andrei
>
> On Mar 1, 2012, at 7:45 AM, cosquer pascal wrote:
>
>
>
>
>
>
>
> > can anyone test my camera trought rtsp via crtmpserver request ?
> > ip adresss is 89.85.245.210
> > ports 8080 http and 554 rtsp are opened
> > user guest password guest
> > very small bandwith
> > please tell me if crtmpserver external streams work.
> > camera is a h.264 foscam model.
> > thanx to come back to me.
> > eric pascal c.
>
>  smime.p7s
> 6KAfficherTélécharger

C++ RTMP Server

unread,
Mar 1, 2012, 5:06:49 PM3/1/12
to c-rtmp...@googlegroups.com
Hi,

You stream "works" fine. My configuration is like this:

externalStreams =
{
{
uri="rtsp://guest:gu...@89.85.245.210:554/12",
localStreamName="rtsp_test",
forceTcp=false
}
}

1. use username/password in the uri
2. Your camera doesn't support TCP tunneling so put forceTcp=false
3. It "works" but I see massive udp packet dropouts. I can see a key frame once in a while. I have bad connectivity with you. Same thing happens with VLC and QuickTime
4. I have no chance of seeing /11 in action. Too many dropouts
5. Your key frame interval is way too big or I miss 99% of key frames because of heavy packet dropouts. Once I catch one key frame, flash starts to work

Cheers,
Andrei

cosquer pascal

unread,
Mar 2, 2012, 2:15:43 AM3/2/12
to c-rtmp...@googlegroups.com
thank you andrei for taking time to solve this.

one question more: have you established a list of camera/model/manufactured that works
fine with crtmpserver ?

eric pascal p.

cosquer pascal

unread,
Mar 2, 2012, 6:36:04 AM3/2/12
to c-rtmp...@googlegroups.com
Hi Andrei an users,

I tried this morning your config file, but it's still the same for me : This doesn't work.
It seems in the log file that i still got an authentication problem.

I don't understand.

Eric Pascal C.

cosquer pascal

unread,
Mar 2, 2012, 11:45:10 AM3/2/12
to c-rtmp...@googlegroups.com
Andrei and others,

Can somebody connect to my camera and Unbuntu server to test my config file and crtmpserver ? I still cannot access my IP camera, Andrei try it successfully but not me ....

My config file is:

-- Start of the configuration. This is the only node in the config file.
-- The rest of them are sub-nodes
configuration=
{
        -- if true, the server will run as a daemon.
        -- NOTE: all console appenders will be ignored if this is a daemon
        daemon=false,
        -- the OS's path separator. Used in composing paths
        pathSeparator="/",

        -- this is the place where all the logging facilities are setted up
        -- you can add/remove any number of locations
        logAppenders=
        {
                {
                        -- name of the appender. Not too important, but is mandatory
                        name="console appender",
                        -- type of the appender. We can have the following values:
                        -- console, coloredConsole and file
                        -- NOTE: console appenders will be ignored if we run the server
                        -- as a daemon
                        type="coloredConsole",
                        -- the level of logging. 6 is the FINEST message, 0 is FATAL message.
                        -- The appender will "catch" all the messages below or equal to this level
                        -- bigger the level, more messages are recorded
                        level=6
                },
                {
                        name="file appender",
                        type="file",
                        level=6,
                        -- the file where the log messages are going to land
                        fileName="/var/log/crtmpserver/crtmpserver.log"
                }
        },

        -- this node holds all the RTMP applications
        applications=
        {
                -- this is the root directory of all applications
                -- usually this is relative to the binary execuable
                rootDirectory="/usr/lib/crtmpserver/applications",


                --this is where the applications array starts
                {
                        -- The name of the application. It is mandatory and must be unique
                        name="appselector",
                        -- Short description of the application. Optional
                        description="Application for selecting the rest of the applications",

                        -- The type of the application. Possible values are:
                        -- dynamiclinklibrary - the application is a shared library
                        protocol="dynamiclinklibrary",
                        -- the complete path to the library. This is optional. If not provided,
                        -- the server will try to load the library from here
                        -- <rootDirectory>/<name>/lib<name>.{so|dll|dylib}
                        -- library="/some/path/to/some/shared/library.so"

                        -- Tells the server to validate the clien's handshake before going further.
                        -- It is optional, defaulted to true
                        validateHandshake=true,
default=true,
                        acceptors =
                        {
                                {
                                        ip="0.0.0.0",
                                        port=1935,
                                        protocol="inboundRtmp"
                                },
                                {
                                        ip="0.0.0.0",
                                        port=8081,
                                        protocol="inboundRtmps",
                                        sslKey="server.key",
                                        sslCert="server.crt"
                                },
                                {
                                        ip="0.0.0.0",
                                        port=8080,
                                        protocol="inboundRtmpt"
                },
                        }
                },
                {
                        description="FLV Playback Sample",
                        name="flvplayback",
                        protocol="dynamiclinklibrary",
                        aliases=
                        {
                                "simpleLive",
                                "vod",
                                "live",
                                "WeeklyQuest",
                                "SOSample",
                                "oflaDemo",
                        },
                        acceptors =
                        {
                                {
                                        ip="0.0.0.0",
                                        port=1935,
                                        protocol="inboundRtmfp"
                                },
                                {
                                        ip="0.0.0.0",
                                        port=6666,
                                        protocol="inboundLiveFlv",
                                        waitForMetadata=true,
                                },
                                {
                                        ip="0.0.0.0",
                                        port=9999,
                                        protocol="inboundTcpTs"
                                },
                                --[[{
                                        ip="0.0.0.0",
                                        port=554,
                                        protocol="inboundRtsp"
                                },]]--
                        },
                        externalStreams =
 {
                                {
                                        uri="rtsp://guest:gu...@192.168.1.22:554/11",
                                        localStreamName="rtsp_test",
                                        forceTcp=false
                                        }
  },
                        validateHandshake=true,
                        keyframeSeek=true,
                        seekGranularity=1.5, --in seconds, between 0.1 and 600
                        clientSideBuffer=12, --in seconds, between 5 and 30
                        --generateMetaFiles=true, --this will generate seek/meta files on application startup
                        --renameBadFiles=false,
                        --[[authentication=
                        {
                                type="adobe",
                                encoderAgents=
                                {
                                        "FMLE/3.0 (compatible; FMSc/1.0)",
                                        "my 3rd party encoder",
                                        "some other encoder",
                                },
                                usersFile="users.lua",
                        }]]--
                },
                {
                        name="samplefactory",
                        description="asdsadasdsa",
                        protocol="dynamiclinklibrary",
                        aliases=
                        {
                                "httpOutboundTest"
                        },
                        acceptors =
                        {
                                {
                                        ip="0.0.0.0",
                                        port=8989,
                                        protocol="httpEchoProtocol"
                                },
                                {
                                        ip="0.0.0.0",
                                        port=8988,
                                        protocol="echoProtocol"
                                }
                        }
                        --validateHandshake=true,
                        --default=true,
                },
                {
                        name="vptests",
                        description="Variant protocol tests",
                        protocol="dynamiclinklibrary",
                        aliases=
                        {
                                "vptests_alias1",
                                "vptests_alias2",
                                "vptests_alias3",
                        },
                        acceptors =
                        {
                                {
                                        ip="0.0.0.0",
                                        port=1111,
                                        protocol="inboundHttpXmlVariant"
                                }
                        }
 },
                {
                        name="admin",
                        description="Application for administering",
                        protocol="dynamiclinklibrary",
                        aliases=
                        {
                                "admin_alias1",
                                "admin_alias2",
                                "admin_alias3",
                        },
                        acceptors =
                        {
                                {
                                        ip="0.0.0.0",
                                        port=1112,
                                        protocol="inboundJsonCli",
                                        useLengthPadding=true
                                },
                        }
                        --validateHandshake=true,
                        --default=true,
                },
                {
                        name="proxypublish",
                        description="Application for forwarding streams to another RTMP server",
                        protocol="dynamiclinklibrary",
                        acceptors =
                        {
                                {
                                        ip="0.0.0.0",
                                        port=6665,
                                        protocol="inboundLiveFlv"
                                },
                        },
                        abortOnConnectError=true,
                        targetServers =
                        {
                                --[[{
                                        targetUri="rtmp://x.xxxxxxx.fme.ustream.tv/ustreamVideo/xxxxxxx",
                                        targetStreamName="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
                                        localStreamName="gigi",
                                        emulateUserAgent="FMLE/3.0 (compatible; FMSc/1.0 http://www.rtmpd.com)"
                                }]]--,
                                {
                                        targetUri="rtmp://localhost/vod",
                                        targetStreamType="live", -- (live, record or append)
                                        emulateUserAgent="My user agent",
                                        localStreamName="stream1"
                                },
                        },
 },
                {
                        name="stresstest",
                        description="Application for stressing a streaming server",
                        protocol="dynamiclinklibrary",
                        targetServer="localhost",
                        targetApp="vod",
                        active=false,
                        --[[streams =
                        {
                                "lg00","lg01","lg02","lg03","lg04","lg05","lg06","lg07","lg08",
                                "lg09","lg10","lg11","lg12","lg13","lg14","lg15","lg16","lg17",
                                "lg18","lg19","lg20","lg21","lg22","lg23","lg24","lg25","lg26",
                                "lg27","lg28","lg29","lg30","lg31","lg32","lg33","lg34","lg35",
                                "lg36","lg37","lg38","lg39","lg40","lg41","lg42","lg43","lg44",
                                "lg45","lg46","lg47","lg48","lg49"
                        },]]--
                        streams =
                        {
                                "mp4:lg.mp4"
                        },
                        numberOfConnections=10,
                        randomAccessStreams=false
                },
                {
                        name="applestreamingclient",
                        description="Apple Streaming Client",
                        protocol="dynamiclinklibrary",
                        --[[acceptors =
                        {
                                {
                                        ip="0.0.0.0",
                                        port=5544,
                                        protocol="inboundRtsp"
                                }
                        },]]--
                        aliases=
                        {
                                "asc",
                        },
                        --validateHandshake=true,
                        --default=true,
                },
                --#INSERTION_MARKER# DO NOT REMOVE THIS. USED BY appscaffold SCRIPT.
        }
}

My Log file is :

1330705721:3:/build/buildd/crtmpserver-0.0~dfsg+svn474/crtmpserver/src/crtmpserver.cpp:231:Run:GO! GO! GO! (1423)
1330705721:4:/build/buildd/crtmpserver-0.0~dfsg+svn474/thelib/src/netio/epoll/iohandlermanager.cpp:98:RegisterIOHandler:Handlers count changed: 12->13 IOHT_TCP_CARRIER
1330705721:4:/build/buildd/crtmpserver-0.0~dfsg+svn474/thelib/src/netio/epoll/iohandlermanager.cpp:107:UnRegisterIOHandler:Handlers count changed: 13->12 IOHT_TCP_CONNECTOR
1330705721:0:/build/buildd/crtmpserver-0.0~dfsg+svn474/thelib/src/protocols/rtp/basertspappprotocolhandler.cpp:736:HandleRTSPResponse:Response not yet implemented. request:

<MAP name="" isArray="false">
    <MAP name="firstLine" isArray="false">
        <STR name="method">DESCRIBE</STR>
        <STR name="url">rtsp://guest:gu...@192.168.1.22:554/11</STR>

        <STR name="version">RTSP/1.0</STR>
    </MAP>
    <MAP name="headers" isArray="false">
        <STR name="Accept">application/sdp</STR>
        <STR name="Authorization">Basic Z3Vlc3Q6Z3Vlc3Q=</STR>

        <STR name="CSeq">2</STR>
        <STR name="Server">C++ RTMP Server (http://www.rtmpd.com)</STR>
        <STR name="X-Powered-By">C++ RTMP Server (http://www.rtmpd.com)</STR>
    </MAP>
</MAP>
response:
<MAP name="" isArray="false">
    <MAP name="firstLine" isArray="false">
        <STR name="reason">Unauthorized</STR>
        <UINT32 name="statusCode">401</UINT32>
        <STR name="version">RTSP/1.0</STR>
    </MAP>
    <MAP name="headers" isArray="false">
        <STR name="Content-Length">0</STR>
        <STR name="Cseq">2</STR>
        <STR name="Server">HiIpcam/V100R003 VodServer/1.0.0</STR>
        <STR name="WWW-Authenticate">Digest realm="Hipcam RealServer", nonce="9f8452d2793c34214e5c2b1d0a82fb0a"</STR>

    </MAP>
    <BOOL name="isRequest">false</BOOL>
</MAP>
1330705721:0:/build/buildd/crtmpserver-0.0~dfsg+svn474/thelib/src/protocols/rtp/rtspprotocol.cpp:197:SignalInputData:Unable to handle content
1330705721:0:/build/buildd/crtmpserver-0.0~dfsg+svn474/thelib/src/netio/epoll/tcpcarrier.cpp:88:OnEvent:Unable to signal data available
1330705721:6:/build/buildd/crtmpserver-0.0~dfsg+svn474/thelib/src/protocols/protocolmanager.cpp:43:EnqueueForDelete:Enqueue for delete for protool [TCP(3)] <-> RTSP(4)
1330705721:4:/build/buildd/crtmpserver-0.0~dfsg+svn474/thelib/src/netio/epoll/iohandlermanager.cpp:107:UnRegisterIOHandler:Handlers count changed: 12->11 IOHT_TCP_CARRIER
1330705721:6:/build/buildd/crtmpserver-0.0~dfsg+svn474/thelib/src/protocols/protocolmanager.cpp:43:EnqueueForDelete:Enqueue for delete for protool [RTSP(4)]
1330705721:6:/build/buildd/crtmpserver-0.0~dfsg+svn474/thelib/src/application/baseclientapplication.cpp:153:UnRegisterProtocol:Protocol [RTSP(4)] unregistered from application: flvplayback

and TCPDUMP

root@streamer:/var/log/crtmpserver# tcpdump host 192.168.1.22
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
17:41:21.422003 IP 192.168.1.10.51080 > 192.168.1.22.rtsp: Flags [S], seq 2000801980, win 14600, options [mss 1460,sackOK,TS val 503029 ecr 0,nop,wscale 3], length 0
17:41:21.432535 ARP, Request who-has 192.168.1.10 tell 192.168.1.22, length 46
17:41:21.432550 ARP, Reply 192.168.1.10 is-at 00:19:b9:67:df:3a (oui Unknown), length 28
17:41:21.435876 IP 192.168.1.22.rtsp > 192.168.1.10.51080: Flags [S.], seq 1192134878, ack 2000801981, win 5792, options [mss 1460,sackOK,TS val 209711 ecr 503029,nop,wscale 1], length 0
17:41:21.435910 IP 192.168.1.10.51080 > 192.168.1.22.rtsp: Flags [.], ack 1, win 1825, options [nop,nop,TS val 503033 ecr 209711], length 0
17:41:21.436350 IP 192.168.1.10.51080 > 192.168.1.22.rtsp: Flags [P.], seq 1:210, ack 1, win 1825, options [nop,nop,TS val 503033 ecr 209711], length 209
17:41:21.439782 IP 192.168.1.22.rtsp > 192.168.1.10.51080: Flags [.], ack 210, win 3432, options [nop,nop,TS val 209712 ecr 503033], length 0
17:41:21.441922 IP 192.168.1.22.rtsp > 192.168.1.10.51080: Flags [P.], seq 1:121, ack 210, win 3432, options [nop,nop,TS val 209712 ecr 503033], length 120
17:41:21.441929 IP 192.168.1.10.51080 > 192.168.1.22.rtsp: Flags [.], ack 121, win 1825, options [nop,nop,TS val 503034 ecr 209712], length 0
17:41:21.442261 IP 192.168.1.10.51080 > 192.168.1.22.rtsp: Flags [P.], seq 210:445, ack 121, win 1825, options [nop,nop,TS val 503034 ecr 209712], length 235
17:41:21.449243 IP 192.168.1.22.rtsp > 192.168.1.10.51080: Flags [P.], seq 121:295, ack 445, win 3968, options [nop,nop,TS val 209713 ecr 503034], length 174
17:41:21.449688 IP 192.168.1.10.51080 > 192.168.1.22.rtsp: Flags [F.], seq 445, ack 295, win 1959, options [nop,nop,TS val 503036 ecr 209713], length 0
17:41:21.457594 IP 192.168.1.22.rtsp > 192.168.1.10.51080: Flags [F.], seq 295, ack 446, win 3968, options [nop,nop,TS val 209714 ecr 503036], length 0
17:41:21.457609 IP 192.168.1.10.51080 > 192.168.1.22.rtsp: Flags [.], ack 296, win 1959, options [nop,nop,TS val 503038 ecr 209714], length 0

Any idea ?

My ip camera is at 89.85.245.210:8080  guest guest for web access, 89.85.245.210:554/11 or /12 with guest:guest for rtsp,
ubuntu server is at 89.85.245.210:22 using ssh, mail me for user access.

Thank you

C++ RTMP Server

unread,
Mar 2, 2012, 12:52:47 PM3/2/12
to c-rtmp...@googlegroups.com
Hi,

Please out the long copy-pastes on pastebin.com next time

As far as I see, you are running a badly outdated version: 474. Build it from sources please (around version 700)

Cheers,
Andrei

cosquer pascal

unread,
Mar 3, 2012, 3:19:55 PM3/3/12
to c-rtmp...@googlegroups.com
Hi,
 
The reason of my trouble was the 474 version that i took from ubuntu packages.
 
All is perfect with the last version of crtmpserver.
 
Thank you Andrei for your software and for your help.
 
Eric Pascal 

Jimmy

unread,
Jun 13, 2012, 9:44:43 AM6/13/12
to c-rtmp...@googlegroups.com
SOLVED
Turns out it was syntax of what the manufacturer's URL address accepts.
Accepted Manufacturer's URL
http://www.soleratec.com/rtsp/rtsp_listing.php?ip_comp=AXIS&mymanufact=1

My Setup:
AXIS M1011 IP Network Surveillance
CRTMP Server (717)
Ubuntu 10.10 x64 Desktop

Directions:
#Edit /crtmpserver-717/builders/cmake/crtmpserver/crtmpserver.lua
externalStreams =
{
       {
          uri="rtsp://130.20.186.3:554/axis-media/media.amp?videocode=h264&streamprofile=Bandwidth",
          localStreamName="rtsp_test",
          forceTcp=true
        }
}


On Tuesday, June 12, 2012 11:31:31 AM UTC-7, Jimmy wrote:
Hi All,

So I have configured my file to be like your guys' but it seems that I still cannot see my camera.

IP Camera (Axis M1011)
CRTMPServer (717)
Ubuntu 10.10 x64 Desktop

All works well. I am able to stream media files fine, but I cannot even see my IP camera.

I edited my flvplayback.lua to the following:

externalStreams =
{
        {
                uri="rtsp://guest:guest@myIP:554",

                localStreamName="rtsp_test",
                forceTcp=false
        }
}


Any assistance would be great. Thanks!

>                                         uri="rtsp://guest:guest@192.168.1.22:554/11",
>         <STR name="url">rtsp://guest:guest@192.168.1.22:554/11</STR>
>                uri="rtsp://guest:guest@89.85.245.210:554/12",

> >>> For more options, visit this group at
> >>> http://groups.google.com/group/c-rtmp-server?hl=en
> >>
> >>
> >>
> >>  smime.p7s
> >> 6KAfficherTélécharger
> >
> > You received this message because you are subscribed to "C++ RTMP Server" mailing list.
> > To post to this group, send email to c-rtmp...@googlegroups.com
> > To unsubscribe from this group, send email to

> > For more options, visit this group at
> > http://groups.google.com/group/c-rtmp-server?hl=en
>
>
>
>
> You received this message because you are subscribed to "C++ RTMP Server" mailing list.
> To post to this group, send email to c-rtmp...@googlegroups.com
> To unsubscribe from this group, send email to

陈怀章

unread,
Aug 6, 2013, 8:57:51 AM8/6/13
to c-rtmp...@googlegroups.com
can i transcode a rtmp  stream to  rtsp stream through crtmpserver ,if can  ,how can i configure the  .conf file ,thank you very much!
Reply all
Reply to author
Forward
0 new messages