Jump to content

Recently I setup an ACTi IP cam that supports rtsp to go on my website. I don't neccesarily want to use a Quicktime or VLC plugin so I figured I would set up a crtmpserver to grab the rtsp://<Cam.Ip>:7070 and send it out as the rtmp://<Server.Ip>/live/stream and send it to JWPlayer, but it's not working.

 

I've checked all of my ports to make sure my network wasn't the porblem. I checked to make sure I can pickup the camera via rtsp on both VLC and Quicktime player (desktop apps) to make sure the camera was streaming on rtsp.

 

I figure the issue is in my configuration file: 

 

Crtmpserver.lua: 

    externalStreams =                                                   
    {                                                                   
        {                                                               
            uri="rtsp://<Cam.Ip>:7070",
            localStreamName="stream",                                                                                  
        },
  }
 
HTML Page:
<div id="jwplayer_1">Loading the player ...</div>
<script type='text/javascript'>
    jwplayer('jwplayer_1').setup({
        file: 'rtmp://10.0.0.10/live/stream',
        title: 'Harrisburg Boat Dock',
        width: '720',
        height: '480',
        autostart: 'true'
    });
</script>
 
I figured I could just deal with using the quicktime or vlc web plugin but neither of them are displaying the stream either..
 
Is there another way I can set this IP cam to go on my webpage?

 

Link to comment
https://linustechtips.com/topic/189960-ip-camera-on-website/
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×