5.2.2. Release notes for v0.10

About release 0.10

The main feature of this SDK release is support for Proximie services REST APIs to programmatically manage media server sessions.

Additionally, there are some improvements and bug fixes, please see the release notes for details.

NOTE: This release introduces some breaking changes, please see the notes below.

Deprecated APIs

In places, this release uses the C++ [[deprecated]] attribute to mark some APIs as deprecated. Deprecations may be errors for your application, depending on your compiler settings. For more details see C++ attribute: deprecated.

v0.10.0

Feature: Additional Proximie REST API support

This release adds further support for calling Proximie REST APIs from the SDK using the ProximieServices class:

Obtaining feeds from sessions

Both MediaServerSession and PeerSession now support functions to list and get feeds from that session.

For consistency these functions are named the same for both types of session:

Note that we have deprecated PeerSession::listFeeds in favour of listSessionFeedIds() for clarity and consistency.

Feed object casting and type checking

Feed objects now support is() and as() methods to easily check and cast feed objects types.

// Where 'feed' is a std::shared_ptr<PxMedia::FeedBase>:

// Check if the feed type is a given derived type
bool isOutgoing = feed->is<PxMedia::MediaServerOutgoingVideoFeed>();

// Downcast the feed to a derived shared_ptr type
// NB returns nullptr if the feed is not derived from that type
auto outgoing = feed->as<PxMedia::MediaServerOutgoingVideoFeed>();