Digium Open Source Real-Time Audio and Video Communications SDKs

Digium Open Source Real-Time Audio and Video Communications SDKs

[[146898]]

Digium, creator of the WebRTC platform Respoke, announced the open source Android and iOS SDKs, making it easier for developers to add real-time audio and video communications to mobile apps. In addition, the SDK supports real-time messaging and push notifications when running in the background or offline.

Digium said that providing real-time communication support in a mobile application has always been a very complex task, requiring a deep understanding of multimedia subsystem integration, encoding and decoding, encryption and packetization. The goal of Respoke is to provide a simple integration solution that can more easily handle authentication, messaging and signaling.

When using features in the SDK, developers provide code to handle various events and then select features provided by Respoke. For example, when initiating a call on iOS, the developer provides a delegate object to handle connection, leak, and error events:

  1. RespokeEndpoint *endpoint = [client getEndpointWithID:endpointId skipCreate:NO];
  2. RespokeCall* call = [endpoint startVideoCallWithDelegate:self];

Similarly, on Android, the startCall method accepts a RespokeCall.Listener parameter to handle communication events:

  1. RespokeEndpoint endpoint = client.getEndpoint(endpointId, false );
  2. RespokeCall call = endpoint.startCall( this , this , videoView, audioOnly);

Digiun said the SDKs are designed based on the existing Respoke JavaScript library and are not yet "best practices for iOS and Android platforms." Both the Android and iOS SDKs are available on GitHub and can be installed via CocoaPods or Maven.

Digium's Respoke platform offers a free trial, and basic use costs only $10 per month.

WebRTC is a free open source project that provides real-time communication (RTC) capabilities for browsers and mobile applications, supporting voice interaction, video chat and P2P file sharing.

<<:  How to teach your girlfriend programming?

>>:  Talking about the development of large iOS projects

Recommend

Baijiahao: Ultra-short time and space mountain chips course

Baijiahao: Introduction to the ultra-short time a...

APP promotion: digging into those niche promotion channels

[[145610]] There are many articles about App prom...

Recommend 5 information flow advertising case libraries, take them for free!

It is really difficult to make information flow a...

3 stages of APP user growth!

Today I’m going to join in the fun and talk about...

6 key points for social operation of mobile games

According to CNNIC's "35th Statistical R...

Baidu should not rush into making driverless cars

Recently, at the China Cloud Computing Conference...

What triggered a dramatic decline in marine biodiversity 460 million years ago?

Produced by: Science Popularization China Author:...