Changelogs » Opentok

PyUp Safety actively tracks 268,006 Python packages for vulnerabilities and notifies you when to upgrade.

Opentok

2.10.0

- Add Broadcast APIs
  Thanks normanargueta!

2.9.0

- Added SIP Dial API
  - Added Set Stream Class Lists API
  
  Thanks normanargueta!

2.8.0

- List Archives filtration by sessionId (137 )
  - Added Update Archive Layout functionality (139)

2.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

2.6.0

- Add timeout option to opentok constructor (117, 57 Thanks tylergould!)

2.5.1

Changes:
  
  - Exceptions now inherit from `Exception` instead of `BaseException` (115, thanks fernandogrd)
  
  As well as:
  
  - Update archive documentation (80)
  - Document the `initial_layout_class_list` param for the `generate_token` function (112)
  - Refactor sample app (111)

2.5.0

This updates includes the following changes:
  
  - [Adds support for the `initial_layout_class_list` field in tokens](https://github.com/opentok/Opentok-Python-SDK/pull/77)
  - [Adds support for JWT `X-OPENTOK-AUTH` header, replacing the deprecated `X-TB-PARTNER-AUTH` header](https://github.com/opentok/Opentok-Python-SDK/pull/86)
  - [Updates the REST API endpoint URL to use `/project/` replacing the deprecated `/partner/`](https://github.com/opentok/Opentok-Python-SDK/pull/105)
  - [Only include connection data in generated token if it's been defined](https://github.com/opentok/Opentok-Python-SDK/pull/106)
  - [Ensure backwards compatibility with Python 2.6](https://github.com/opentok/Opentok-Python-SDK/pull/91)
  - [Removes Python 3.2 from supported version because it's not supported by our dependency](https://github.com/opentok/Opentok-Python-SDK/pull/105)
  
  As well as:
  
  - [Updates JS code in samples to use latest API and best practices](https://github.com/opentok/Opentok-Python-SDK/pull/108)
  - [Fix broken image paths in sample](https://github.com/opentok/Opentok-Python-SDK/pull/104)

2.5.0b1

This update adds support for the `initial_layout_class_list` field in tokens.

2.4.1

This update adds version information to the User-Agent string for analytics (78)

2.4.0

This update adds proxy configuration as a feature of the OpenTok object. (thanks juandebravo!)
  
  Here is an example of using proxy configuration:
  
  python
  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](http://docs.python-requests.org/en/latest/user/advanced/proxies) library.

2.3.0

New archiving features:
  -  Automatically archived sessions -- See the `archive_mode` parameter of the `opentok.create_session()` method and the `ArchiveModes` class.
  -  Audio-only or video-only archives -- See the `has_audio` and `has_video` parameters of the `opentok.start_archive()` method.
  -  Individual archiving -- See the `output_mode` parameter of the `opentok.start_archive()` method and the `OutputModes` 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

2.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.

2.2.0

This version of the SDK includes support for working with OpenTok 2.0 archives. (This API does not
  work with OpenTok 1.0 archives.)
  
  The `OpenTok.create_session()` method now includes a `media_mode` parameter, instead of a `p2p` parameter.
  
  For details, see the reference documentation at
  http://www.tokbox.com/opentok/libraries/server/python/reference/index.html.