Download presentation
Presentation is loading. Please wait.
Published byLee Rogers Modified over 8 years ago
1
1 Creative Innovation – Customer Satisfaction – Continual Quality Improvement Session Communications API SessionController - Interface used to control critical stream and party identification operations on a session. Only provided to a single SessionController at any given time. Session - Encapsulates a session oriented dialogue with a peer. Provides control over the interaction. SessionRouter - Provides extended routing capability for sessions. New sessions can be routed, existing sessions replaced with new sessions, and existing sessions replaced with other existing sessions.
2
2 Creative Innovation – Customer Satisfaction – Continual Quality Improvement Session Communications API SessionEndpoint - Provides extended capability on endpoints for creating sessions to an endpoint. Bridge - Allows for the management of a bridge and the addition or removal of sessions. BridgeManager - Allows for the creation and management of session capable bridges.
3
3 Creative Innovation – Customer Satisfaction – Continual Quality Improvement Media API Primary Interfaces – Session - Provides an interface for a media producing and consuming service. – StreamSource - Interface for an object that media originates from. Provides the ability to add and remove sinks which the media is given to. – StreamSink - Interface for an object that media is given to. A sink can only have a single source as any media given to a sink is expected to be mixed from multiple sources already.
4
4 Creative Innovation – Customer Satisfaction – Continual Quality Improvement Media API Key types: – Frame - Encompasses a payload and media format. Stream specific information, such as timestamp and sequence number, exist in an extended StreamFrame type. – Format - Defines a media format. Common types are provided but this can be extended if deeper details are required.
5
5 Creative Innovation – Customer Satisfaction – Continual Quality Improvement Media API Benefits of design: – Chaining – Provides the ability to insert themselves by supporting both a sink and source. Useful for media operations. – Passive Monitoring – Requiring sources to support multiple sinks allows passive monitoring to occur without putting itself in the main media chain. – Extensible – Each aspect of the media API can be extended.
6
6 Creative Innovation – Customer Satisfaction – Continual Quality Improvement Asterisk SCF Components
7
7 Creative Innovation – Customer Satisfaction – Continual Quality Improvement What is a Component? A component is implemented as a loadable module (DLL on Windows, shared library on Unix-like systems) – icebox-loadable libraries A component that requires state replication in order to support fail-over will have a supporting replication component in its git repository
8
8 Creative Innovation – Customer Satisfaction – Continual Quality Improvement Service Locator Implementation of the Discovery API Provides means of finding needed services Provides means of registering new services Provides mechanism for customizing the selection logic on a service-by-service basis
9
9 Creative Innovation – Customer Satisfaction – Continual Quality Improvement Basic Routing Service Implementation of the SessionRouter interface Used as a means of... routing sessions Voted “Most likely component to be rewritten by everyone”
10
10 Creative Innovation – Customer Satisfaction – Continual Quality Improvement Bridging Implements the Bridge and BridgeManager interfaces Responsible for connecting sessions in a manner that allows them to communicate Responsible for passing indications/events between sessions while they are bridged
11
11 Creative Innovation – Customer Satisfaction – Continual Quality Improvement SIP Session Gateway Uses PJSIP as a SIP stack PJSipSessionModule implements the Session interface – Acts on SIP INVITEs to initiate sessions. – Live sessions listen for SIP messages and indicate changes to session listeners PJSipRegistrarModule implements a SIP registrar
12
12 Creative Innovation – Customer Satisfaction – Continual Quality Improvement MediaRTPPJMedia Uses PJMEDIA under the hood Implements the MediaSession, StreamSource, and StreamSink interfaces Listens on RTP ports for media and passes the media to whatever StreamSinks are configured. Sends, processes, and receives RTCP as well.
13
13 Creative Innovation – Customer Satisfaction – Continual Quality Improvement MediaFormatGeneric Provides factory for media formats based on name and SDP Provides translation from SDP to media format and media format to SDP Provides methods for adding descriptors for custom media types
14
14 Creative Innovation – Customer Satisfaction – Continual Quality Improvement MediaOperationsCore Provides implementations of MediaOperation interfaces – Translators for common audio formats – WebRTC NetEQ-based jitter buffer – In-band telephony event detector
15
15 Creative Innovation – Customer Satisfaction – Continual Quality Improvement MediaTransportUDPTL Uses PJMEDIA for UDP transport and the Asterisk UDPTL stack for UDPTL. Provides a media implementation for UDPTL streams.
16
16 Creative Innovation – Customer Satisfaction – Continual Quality Improvement Logger Provides for a method to record messages while Asterisk SCF is running Client provides for ostream-style logging to a file or over Ice Server can accept messages over Ice, allowing logs to exist on different servers if desired.
17
17 Creative Innovation – Customer Satisfaction – Continual Quality Improvement ice-util-cpp Common Ice-related functionality implemented in C++ – Library classes and template definitions for direct use within C++ components SmartProxy BaseComponent WorkQueue ThreadPool Many more!
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.