RTMP stream not working

silvan Member asked 5 years ago

Hi

I have added a stream to the EMS with pullStream, and I can play it (e.g. in VLC) with RTSP, but not with RTMP. I understand from the documentation that this should work without any additional thing to do, like transcoding e.g.
The urls I’m using are:

working –> rtsp://192.168.1.14:5544/stream1
not working –> rtmp://192.168.1.14:5544/live/stream1

The log doesn’t say too much:
1400661658:0:……sourcesthelibsrcnetioiocptcpcarrier.cpp:105:TCPCarrier::OnEvent:Unable to read data from connection: (Far: 192.168.1.19:55441; Near: 192.168.1.14:5544) CTCP(604) <-> [TCP(36)] <-> RTSP(37). WSAGetLastError returned: 10053

Thanks
Silvan

2 Answers
Don Evostream-Staff answered 5 years ago

Hi,

For RTMP, the default port is 1935, not 5544. This can be changed in the configuration file config.lua. The following URI’s should work:
rtmp://192.168.1.14:1935/live/stream1 or
rtmp://192.168.1.14/live/stream1

Cheers,
Don

silvan Member answered 5 years ago

Perfect, thanks :)” />

Cheers, Silvan