iizukanao / node-rtsp-rtmp-server

RTSP/RTMP/HTTP hybrid server
MIT License
1.09k stars 282 forks source link

stream not found #78

Open parthgupta95 opened 7 years ago

parthgupta95 commented 7 years ago

I have made an android app sending stream to rtsp://ip:1935/live/test. On the shell it shows client is connected but when I try rtmpdump for the above stream it shows error: stream not found live/test

iizukanao commented 7 years ago

@Parth0001 Are you using RTSP or RTMP? If RTSP, use the port number 80 instead of 1935. If RTMP, use rtmp://ip/live/test instead. 1935 is the default RTMP port, so you can omit it when you use rtmp://.

parthgupta95 commented 7 years ago

I am using RTSP, I changed the port to 80 and got the error Invalid response from server. Session id: null. I am using libstreaming.jar for my project. On the server when I try to connect it shows my rtsp client connected and then disconnected with the above mentioned error in stacktrace of my app.

On Sat, Jan 21, 2017 at 9:00 PM, Nao Iizuka notifications@github.com wrote:

@Parth0001 https://github.com/Parth0001 Are you using RTSP or RTMP? If RTSP, use the port number 80 instead of 1935. If RTMP, use rtmp://ip/live/test instead. 1935 is the default RTMP port, so you can omit it when you use rtmp://.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/iizukanao/node-rtsp-rtmp-server/issues/78#issuecomment-274268385, or mute the thread https://github.com/notifications/unsubscribe-auth/AJLfkhKaruO2SN1BHx1IJ8oNb9NxHM_Xks5rUiSlgaJpZM4Lm6rh .

iizukanao commented 7 years ago

@Parth0001 Can you show me a full dump of RTSP requests and responses between your Android app and the server? Wireshark capture would also be fine.

parthgupta95 commented 7 years ago

This is the wireshark capture I got.

On Tue, Jan 24, 2017 at 10:50 AM, Nao Iizuka notifications@github.com wrote:

@Parth0001 https://github.com/Parth0001 Can you show me a full dump of RTSP requests and responses between your Android app and the server? Wireshark capture would also be fine.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/iizukanao/node-rtsp-rtmp-server/issues/78#issuecomment-274712661, or mute the thread https://github.com/notifications/unsubscribe-auth/AJLfki9WFxZBjwNh04FU86OWoT7l24r4ks5rVYo5gaJpZM4Lm6rh .

parthgupta95 commented 7 years ago

This is the logcat of android monitor.

On Wed, Jan 25, 2017 at 7:44 PM, PARTH GUPTA parth41295@gmail.com wrote:

This is the wireshark capture I got.

On Tue, Jan 24, 2017 at 10:50 AM, Nao Iizuka notifications@github.com wrote:

@Parth0001 https://github.com/Parth0001 Can you show me a full dump of RTSP requests and responses between your Android app and the server? Wireshark capture would also be fine.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/iizukanao/node-rtsp-rtmp-server/issues/78#issuecomment-274712661, or mute the thread https://github.com/notifications/unsubscribe-auth/AJLfki9WFxZBjwNh04FU86OWoT7l24r4ks5rVYo5gaJpZM4Lm6rh .

iizukanao commented 7 years ago

@Parth0001 Seems your attachments were removed by GitHub. Can you attach those files on the GitHub issue page or send them to iizuka@kyu-mu.net?

kewalkwason commented 7 years ago

I used rtmp://ip/live/test it gives me error RTMP client requested stream live/test error: stream not found. my ports are RTMP:1935 RTSP:8080

One more issue it give error toLowerCase not found below in rtmp.coffee if publishingType.toLowerCase() isnt 'live' line 1513