Giter VIP home page Giter VIP logo

Comments (3)

rexfm avatar rexfm commented on July 24, 2024

Interesting, I get a similar but different error coming from the same line:

pi@z108c ~/node-rtsp-rtmp-server $ ./start_server.sh
2015-09-08 08:16:22.012 [rtmp] server started on port 1935
2015-09-08 08:16:22.282 [rtsp/http] server started on port 80
2015-09-08 08:16:29.923 [custom_receiver] new connection to VideoData
2015-09-08 08:16:30.045 [custom_receiver] new connection to VideoControl
2015-09-08 08:16:30.105 [custom_receiver] new connection to AudioData
2015-09-08 08:16:30.123 [custom_receiver] new connection to AudioControl
2015-09-08 08:16:37.885 [rtsp/http] client c1 connected
2015-09-08 08:16:38.329 [rtsp/http] client c2 connected
2015-09-08 08:16:38.354 [rtsp/http] client c1 is closed
[rtsp/http: 1 clients]
c2: session=29187955 addr=192.168.1.99 port=57389
2015-09-08 08:16:38.413 [rtsp/http] client c2 is closed
[rtsp/http: 0 clients]
2015-09-08 08:16:38.990 [rtsp/http] client c3 connected
/home/pi/node-rtsp-rtmp-server/server.coffee:40
throw err;
^
TypeError: Cannot read property 'slice' of null
at RTSPServer.livePathConsumer (/home/pi/node-rtsp-rtmp-server/server.coffee:12:38)
at RTSPServer.consumePathname (/home/pi/node-rtsp-rtmp-server/rtsp.coffee:1097:8)
at RTSPServer.respondDescribe (/home/pi/node-rtsp-rtmp-server/rtsp.coffee:1238:6)
at RTSPServer.respond (/home/pi/node-rtsp-rtmp-server/rtsp.coffee:1772:8)
at RTSPServer.handleOnData (/home/pi/node-rtsp-rtmp-server/rtsp.coffee:882:6)
at Socket. (/home/pi/node-rtsp-rtmp-server/rtsp.coffee:443:12)
at Socket.emit (events.js:107:17)
at readableAddChunk (_stream_readable.js:163:16)
at Socket.Readable.push (_stream_readable.js:126:10)
at TCP.onread (net.js:538:20)

from node-rtsp-rtmp-server.

danielfree avatar danielfree commented on July 24, 2024

hi @sensorua we met the same issue at server.coffee:40, turns out the issue is with "compare" method missing for some object. The solution is upgrading nodejs to > 0.12 version, see (http://stackoverflow.com/questions/29910825/why-am-i-getting-this-error-r1-buf1-comparebuf2-typeerror-object-rahul-h).

Still @rexfm 's issue looks like a different one.

from node-rtsp-rtmp-server.

iizukanao avatar iizukanao commented on July 24, 2024

Sorry for the late reply. I have recently fixed a bunch of bugs. Could you try again with the latest code?

from node-rtsp-rtmp-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.