crtmpserver convert rtsp streaming to rtmp streaming

Rtsp Broadcasting: 

Braodcast from android handset with the help of Rtsp Server from VXG (Google player)

IP: 172.24.1.168              Port: 5540

Resolution: 720X480

Bitrate:  Video=1000 kpbs,  Audio=64 kpbs

URL = rtsp://172.24.1.168:5540/ch0

 

Streaming Server:

Debian 8 with crtmpserver v1.1c

IP = 172.24.1.69

Enable RTSP source by add following definition in the externalStreams section of crtmpserver.lua:

externalStreams ={

   {
     uri=”rtsp://172.24.1.168:5540/ch0″,
     localStreamName=”rtsp”,
     forceTcp=true,
     keepAlive=true
     },

  }

 

Verify RTMP on Workstation :

ffplay rtmp://172.24.1.69/live/rtsp

 

 

Support rtmp and rtsp same time from crtmpserver

Enable rtsp inbound in accept section of config file:

acceptors =
{
    {
    ip=”0.0.0.0″,
    port=6666,
    protocol=”inboundLiveFlv”,
    waitForMetadata=true,
   },
   {
   ip=”0.0.0.0″,
   port=9999,
   protocol=”inboundTcpTs”
   },

  {
   ip=”0.0.0.0″,
   port=5544,
   protocol=”inboundRtsp”
   },

}

Verify RTSP on Workstation :

ffplay rtsp://172.24.1.69:5544/rtsp