1. Home
  2. Connections
  3. Call Media Transcoding
  1. Home
  2. SIP Over WebRTC
  3. Call Media Transcoding
  1. Home
  2. Under the Hood
  3. Call Media Transcoding

Call Media Transcoding

Transcoding is a crucial function within the SIPERB platform, especially when dealing with legacy PBX systems that do not natively support WebRTC’s modern codecs and protocols. Transcoding essentially converts media from one format to another, allowing seamless communication between different technologies. This article explains how transcoding works within SIPERB, its implications for your communications, and when you might need to use it.

What is Transcoding?

Transcoding refers to the process of converting media streams from one codec to another to ensure compatibility between different systems or devices. In the context of SIPERB and WebRTC, transcoding is often necessary when integrating newer communication technologies with older telephony systems.

Why Transcoding is Needed

  • Codec Compatibility: Different systems often use different codecs for processing audio and video. For example, WebRTC typically uses Opus for audio, which may not be compatible with older PBX systems that use codecs like G.711.
  • Protocol Adaptation: Besides codec conversion, transcoding may also involve converting protocols to ensure that the signaling and media protocols of WebRTC (like DTLS for encryption) are compatible with those used in traditional telephony networks.

When to Use Transcoding in SIPERB

Transcoding becomes essential when making connections under the following conditions:

  • Legacy PBX Systems: If your existing PBX system does not support WebRTC or its codecs, transcoding allows these systems to communicate with modern WebRTC-enabled devices.
  • Interoperability: Transcoding ensures that devices and systems with differing capabilities can still communicate effectively, broadening the reach and utility of your communication setup.

Scenario Example

If you operate an older PBX that only supports G.711 for voice calls, but you wish to take advantage of the superior features of WebRTC, such as higher audio quality with Opus codecs, SIPERB’s transcoding services will convert Opus DTLS encrypted media to a format compatible with G.711.

The Cost and Latency of Transcoding

While transcoding is a powerful tool for ensuring compatibility, it comes with two primary trade-offs:

  • Increased Cost: Transcoding requires additional processing power and resources, which can increase the cost of your communications infrastructure.
  • Higher Latency: The process of converting media from one codec to another adds an extra step in the communication path, potentially increasing the latency of the call.

Managing Latency and Cost

To mitigate these issues, SIPERB employs several strategies:

  • Multiple Points of Presence: SIPERB has numerous points of presence globally, which allows for choosing a relay point with the lowest possible latency relative to the geographic locations of the communication endpoints.
  • Efficient Resource Management: By optimizing codec selection and reducing unnecessary transcoding, SIPERB ensures that resources are used efficiently, balancing cost and performance.

Conclusion

Transcoding is an essential feature for businesses that need to bridge the gap between new and old communication technologies. By understanding when and how to use transcoding within SIPERB, you can enhance the compatibility of your systems without sacrificing the quality of your communications. Whether integrating legacy hardware or adopting new WebRTC capabilities, SIPERB’s transcoding solutions provide the flexibility and functionality necessary to maintain effective communication across your enterprise.

Related Articles