illuspas / Node-Media-Server

A Node.js implementation of RTMP/HTTP-FLV/WS-FLV/HLS/DASH/MP4 Media Server
https://www.npmjs.com/package/node-media-server
MIT License
5.92k stars 1.52k forks source link

websocket not work stream not found /live/STREAM_NAME #17

Closed dev-kang closed 6 years ago

dev-kang commented 6 years ago

Node Media Rtmp Server started on port: 1935 Node Media Http Server started on port: 8000 Node Media WebSocket Server started on port: 8000 [rtmp handshake] start [rtmp handshake] done [rtmp message parser] start [rtmp handleRtmpMessage] Set In chunkSize:4096 [NodeEvent on preConnect] id=0EQGYK2C args={"app":"live/STREAM_NAME","type":"nonprivate","flashVer":"FMLE/3.0 (compatible; FMSc/1.0)","swfUrl":"rtmp://localhost/live/STREAM_NAME","tcUrl":"rtmp://localhost/live/STREAM_NAME"} [rtmp connect] app: live/STREAM_NAME [NodeEvent on postConnect] id=0EQGYK2C args={"app":"live/STREAM_NAME","type":"nonprivate","flashVer":"FMLE/3.0 (compatible; FMSc/1.0)","swfUrl":"rtmp://localhost/live/STREAM_NAME","tcUrl":"rtmp://localhost/live/STREAM_NAME"} [NodeEvent on prePublish] id=0EQGYK2C StreamPath=/live/STREAM_NAME/ args={} [rtmp publish] new stream path /live/STREAM_NAME/ streamId:1 [NodeEvent on postPublish] id=0EQGYK2C StreamPath=/live/STREAM_NAME/ args={} [rtmp handleAudioMessage] Parse AudioTagHeader sound_format=10 sound_type=1 sound_size=1 sound_rate=3 [rtmp handleVideoMessage] Parse VideoTagHeader frame_type=1 codec_id=7 [NodeEvent on preConnect] id=6UPEB9P4 args={"method":"GET","streamPath":"/live/STREAM_NAME","query":{}} [websocket-flv message parser] start [NodeEvent on postConnect] id=6UPEB9P4 args={"method":"GET","streamPath":"/live/STREAM_NAME","query":{}} [websocket-flv play] play stream /live/STREAM_NAME [NodeEvent on prePlay] id=6UPEB9P4 StreamPath=/live/STREAM_NAME args={} [websocket-flv play] stream not found /live/STREAM_NAME

dev-kang commented 6 years ago

I use obs to push.

dev-kang commented 6 years ago

It work well. Thanks !