Relayed Sessions are created as Routed Sessions with Vonage Python SDK v4 versions prior to v4.9.1 Relayed Sessions are created as Routed Sessions with Vonage Python SDK v4 versions prior to v4.9.1

Relayed Sessions are created as Routed Sessions with Vonage Python SDK v4 versions prior to v4.9.1

Yukari Dumburs

Symptom

In Vonage Python SDK v4 versions prior to v4.9.1, creating a Relayed Session with media_mode='relayed' results in a Routed Session instead. Unlike a Relayed Session, a Routed Session sends media through the Vonage Media Router rather than directly between participants. Here's a documentation about the OpenTok Media Router and media modes. 

Applies To

Resolution

Upgrade Vonage Python SDK to the latest version or the version 4.9.1 which includes a fix for this issue.
 

Cause

In the affected versions of Vonage Python SDK, its enum definitions (enums.py) defines incorrect value for Relayed Session when media_mode is specified to relayed, which results Session to be created in Routed mode.