play rtsp/rtmp

play rtsp/rtmp

admin Staff asked 8 years ago
Hi, What do I need to change on the server side to play rtsp and rtmp on a remote player client, can play on local server, I’ve changed the cross domain, I’m i missing something? Something I need to cahnge in the config files?



1 Answers
ian Staff answered 8 years ago
Hi, For RTMP and RTSP playback, you may want to check the following:
  1. Verify listeners/acceptors – you can see this on config.lua. Under acceptors, find the entry that has protocol=”inboundRtmp”. Verify that the ip should be equal to “0.0.0.0” if you want remote clients to be able connect. Verify the port. By default, it should be equal to 1935. Also, do this with the one that has protocol=”inboundRtsp”. Port is set to 5544 by default.
  2. Verify source. If you wish to play back a live content, either use a pullstream command (refer to Documentation) or push a stream to the EMS. If you intend to play a recorded video / MP4 file, place the file on the media folder. The media folder can be configured on the config.lua (please find “mediaFolder” entry). Also, make sure that the codec is H264 for video and AAC for audio.
  3. Verify playback URL. For live streams, it should be the form “rtmp:<ip>/live/<streamname>” or “rtsp://&lt;ip>:<port>/<streamname>”. For recorded video, the playback URL should be “rtmp:<ip>/vod/<filename.mp4>” or “rtsp://&lt;ip>:<port>/vod/<filename.mp4>”.
  4. Verify connectivity. Make sure that the EMS is accessible by the remote player.
 

Offcanvas

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.