mirror of
https://git.gay/ready-dl/pyplayready.git
synced 2025-07-21 15:16:44 +00:00
Session ID and RemoteCDM implementation
This commit is contained in:
parent
70e47800df
commit
8a4be776eb
11 changed files with 629 additions and 24 deletions
14
pyplayready/exceptions.py
Normal file
14
pyplayready/exceptions.py
Normal file
|
@ -0,0 +1,14 @@
|
|||
class PyPlayredyException(Exception):
|
||||
"""Exceptions used by pyplayready."""
|
||||
|
||||
|
||||
class TooManySessions(PyPlayredyException):
|
||||
"""Too many Sessions are open."""
|
||||
|
||||
|
||||
class InvalidSession(PyPlayredyException):
|
||||
"""No Session is open with the specified identifier."""
|
||||
|
||||
|
||||
class DeviceMismatch(PyPlayredyException):
|
||||
"""The Remote CDMs Device information and the APIs Device information did not match."""
|
Loading…
Add table
Add a link
Reference in a new issue