Releases: opentok/Opentok-Python-SDK
Release v2.8.0
Release v2.7.0
Added resolution
parameter for start_archive
Added signal
API
Added force_disconnect
API
Added get_stream
API
Added list_streams
API
Thanks @normanargueta and @maikthomas
Release v2.6.0
Release v2.5.1
Changes:
- Exceptions now inherit from
Exception
instead ofBaseException
(#115, thanks @fernandogrd)
As well as:
Release v2.5.0
This updates includes the following changes:
- Adds support for the
initial_layout_class_list
field in tokens - Adds support for JWT
X-OPENTOK-AUTH
header, replacing the deprecatedX-TB-PARTNER-AUTH
header - Updates the REST API endpoint URL to use
/project/
replacing the deprecated/partner/
- Only include connection data in generated token if it's been defined
- Ensure backwards compatibility with Python 2.6
- Removes Python 3.2 from supported version because it's not supported by our dependency
As well as:
Release v2.5.0b1
This update adds support for the initial_layout_class_list
field in tokens.
Release v2.4.1
This update adds version information to the User-Agent string for analytics (#78)
Release v2.4.0
This update adds proxy configuration as a feature of the OpenTok object. (thanks @juandebravo!)
Here is an example of using proxy configuration:
from opentok import OpenTok
opentok = OpenTok(api_key, api_secret)
opentok.proxies = {
"http": "http://10.10.1.10:3128",
"https": "http://10.10.1.10:1080",
}
session = opentok.create_session()
The format for the proxy configuration is identical to the format used by the underlying requests library.
Release v2.3.0
New archiving features:
- Automatically archived sessions -- See the
archive_mode
parameter of theopentok.create_session()
method and theArchiveModes
class. - Audio-only or video-only archives -- See the
has_audio
andhas_video
parameters of theopentok.start_archive()
method. - Individual archiving -- See the
output_mode
parameter of theopentok.start_archive()
method and theOutputModes
class. - Paused archives -- When no clients are publishing to a session being archived, its status changes to "paused". See
archive.status
.
Other improvements:
- Adds Python 3.4 support
Release v2.2.1
The default setting for the create_session()
method is to create a session with the media mode set
to relayed. In previous versions of the SDK, the default setting was to use the OpenTok Media Router
(media mode set to routed). In a relayed session, clients will attempt to send streams directly
between each other (peer-to-peer); if clients cannot connect due to firewall restrictions, the
session uses the OpenTok TURN server to relay audio-video streams.