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?
Hi, For RTMP and RTSP playback, you may want to check the following:
- 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.
- 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.
- Verify playback URL. For live streams, it should be the form “rtmp:<ip>/live/<streamname>” or “rtsp://<ip>:<port>/<streamname>”. For recorded video, the playback URL should be “rtmp:<ip>/vod/<filename.mp4>” or “rtsp://<ip>:<port>/vod/<filename.mp4>”.
- Verify connectivity. Make sure that the EMS is accessible by the remote player.