The invention belongs to the technical field of
network communication, and in particular relates to a
video monitoring-based front-end video-on-demand traversal method of NAT. The method realizes the front-end video-on-demand traversing NAT function in the
video monitoring service through the media distribution
server. The media distribution
server allocates different TCP listening ports to the front-end by adding an independent on-demand
server module, and tells the front-end through the
central management server that the
client and the front-end actively connect to establish a TCP connection to transmit RTSP signaling messages. The media distribution server receives the RTSP signaling from the
client and forwards it to the front end through necessary simple modifications to complete the establishment of the RTSP signaling; the transmission of the RTP data packet only needs the
client to actively and regularly send detection packets to the media distribution server. The invention is simple, convenient and feasible to realize. The client can easily
traverse NAT without changing the original video-on-demand process, and the server does not need to allocate any resources before the client establishes the RTSP process, which is efficient and easy to expand.