Re: [rtmpd:6102] RTMP stream to flash player from RTSP camera live stream

840 views
Skip to first unread message

C++ RTMP Server

unread,
Apr 15, 2013, 2:23:00 PM4/15/13
to c-rtmp...@googlegroups.com
Hi,

crtmpserve responds properly. The problem is in JWPlayer:

flashvars1.file = 'testcam';
flashvars1.streamer = 'rtmp://192.168.3.103:1935/camera';


------
C++ RTMP Server
Web: http://www.rtmpd.com

On Apr 15, 2013, at 8:07 PM, Mike Inman <mang...@gmail.com> wrote:

> Hi,
>
> I have studied these threads:
>
> https://groups.google.com/forum/#!topic/c-rtmp-server/AiFBwh_cdgc
> https://groups.google.com/forum/?fromgroups=#!topic/c-rtmp-server/NmZ_6M-atcg
>
> and others, extensively, but I am still stuck trying to get my RTSP camera(s) to stream to a flash player in a webpage via crtmpserver.
>
> I have installed crtmpserver 0.794 on a Ubuntu 12.10 server running in a VM on my laptop, modified my crtmpserver.lua script as follows:
>
> http://pastebin.com/bhRxFnHB
>
> the camera seems to be responding properly when crtmpserver starts (I can also RTSP stream this camera to vlc without problems...), but when I try to access the camera in a flash player, the player tells me "Server Not Found," and the crtmpserver log shows me "Application camera/testcam not found" among other things:
>
> http://pastebin.com/isTFqREx crtmpserver log
> http://pastebin.com/xvUVFkNS flash player html
>
> I'm thinking it's something about how I'm calling my flash player, but nothing I try seems to successfully open the RTMP stream and play it, I can get file not found #2032 errors and sometimes a black box with/without a spinner in it, but never any video (results depending on which permutation of stream name / file name, etc. tried)
>
> Any pointers would be greatly appreciated!
>
> M
>
> --
> 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
>
> ---
> You received this message because you are subscribed to the Google Groups "C++ RTMP Server" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to c-rtmp-serve...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Mike Inman

unread,
Apr 15, 2013, 2:43:35 PM4/15/13
to c-rtmp...@googlegroups.com
Thanks for the quick response - this was one of many configurations I tried with JWPlayer, and this one gets an Error #2032 - which I take from Google to mean "file not found"?

I am getting more success out of FlowPlayer, but no audio.  The audio plays fine in VLC via RTSP:, and it is configured as shown in the attachment, AAC, 16KHz 16kbits/s.

Any ideas?

M
AudioConfig.PNG

Mike Inman

unread,
Apr 15, 2013, 2:45:48 PM4/15/13
to c-rtmp...@googlegroups.com
Oh, and nevermind about the audio question... the camera was configured G711, I reconfigured it but forgot to restart crtmpserver - doh!

M

On Monday, April 15, 2013 2:23:00 PM UTC-4, Eugen-Andrei Gavriloaie wrote:
Reply all
Reply to author
Forward
0 new messages