Module: dvbcss.protocol
The dvbcss.protocol
module contains classes to implement the CSS-CII, CSS-TS and CSS-WC protocols. For each protocol there are objects to represent the messages that flow across the protocols and classes that implement clients and servers for the protocols.
cii.rst ts.rst wc.rst
See servers-internals
for information on how the servers are implemented.
OMIT
Some protocol messages contain optional properties to carry private data.
Private data is encoded in message objects here as a list
of dict
objects where each has a key "type" whose value is a URI.
Each dict can contain any other keys and values you wish so long as they can be parsed by the python json <json>
module's encoder. For example:
example_private_data = [
{ "type" : "urn:bbc.co.uk:pid", "pid":"b00291843",
"entity":"episode"
},
{ "type" : "tag:bbc.co.uk/programmes/clips/link-url",
"http://www.bbc.co.uk/programmes/b1290532/"
}
]
dvbcss.protocol.client.ConnectionError