Freeswitch-based high-performance media forwarding method and device

A forwarding method and forwarding device technology, applied in digital transmission systems, electrical components, transmission systems, etc., can solve problems such as performance degradation and program occupancy, improve operating efficiency, enhance anti-packet loss capabilities, and improve forwarding processing efficiency Effect

Active Publication Date: 2017-08-29
FUJIAN STAR NET WISDOM TECH CO LTD
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Under the existing freeswitch framework, although there is support for jitterbuffer and NACK packet loss compensation, the session uses a one-to-one mechanism, and each session needs to maintain a unique jitterbuffer, which leads to 5000 sessions. 5000 jitterbuffers need to be maintained
Once the jitterbuffer cache is large, it will cause the program to occupy too much memory, which will cause the device to need more resources to run freeswitch
This also makes Freeswitch no longer operate at high performance when a certain number of sessions are reached, and Freeswitch has to modify the RTP content of each session. In some pure forwarding environments, these modifications will also lead to performance degradation.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Freeswitch-based high-performance media forwarding method and device
  • Freeswitch-based high-performance media forwarding method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Please refer to figure 1 and figure 2 Shown, the present invention is based on the preferred embodiment of the high-performance media forwarding method of freeswitch, unique jitterbuffer is provided with on the described freeswitch, and described method comprises the following steps:

[0030] Step 1, the source sends an RTP message to the freeswitch;

[0031] Step 2, the freeswitch caches a copy of the received RTP message on the jitterbuffer; meanwhile, the freeswitch modifies the header of the RTP message, and forwards the modified RTP message to each corresponding destination device;

[0032] Step 3, each described destination device receives the RTP message, and detects whether the RTP message is lost, and if it detects the lost RTP message, then reacquires the lost RTP message from the jitterbuffer of the freeswitch; if there is no lost packet, Then the forwarding of the RTP message ends.

[0033] As can be seen from the above, the method of the present inventi...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a freeswitch-based high-performance media forwarding method. The method comprises the following steps that a source sends an RTP message to a freeswitch; the freeswitch caches the received RTP message to a jitterbuffer; meanwhile, the freeswitch modifies a message header of the RTP message and forwards the modified RTP message to each corresponding target device; each target device receives the RTP message and detects whether the RTP message has packet loss, and if the packet loss is detected, the lost RTP message is obtained from the jitterbuffer of the freeswitch again; and if no packet loss exists, the forwarding of the RTP message is ended. The method and the device have the advantages that the running efficiency of the freeswitch can be improved, the forwarding processing efficiency of the freeswitch about the message is improved, and the packet loss resistance of a network can be effectively enhanced.

Description

technical field [0001] The invention relates to the field of communication equipment, in particular to a high-performance media forwarding method and device based on freeswitch. Background technique [0002] Freeswitch is an open source SIP server, which has good scalability, supports multiple encodings and supports RTP / RTCP protocol very well. Freeswitch supports the jitterbuffer mechanism, and the NACK packet loss compensation function can be realized on the jitterbuffer mechanism. Freeswitch also provides a zero-copy mechanism for packets, which can achieve certain high-efficiency packet forwarding. [0003] At present, the mainstream streaming media technology is the RTP / RTCP protocol, and there is a supplementary protocol in the RTP / RTCP protocol, which is the NACK packet loss compensation technology. According to the content of the RTCP packet of the NACK, a certain packet loss compensation function can be achieved. [0004] Under the existing freeswitch framework, ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L29/06H04L12/26
CPCH04L43/0829H04L65/75H04L65/65
Inventor 洪剑平陈锦辉
Owner FUJIAN STAR NET WISDOM TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products