ostinato.protocols.sign_pb2 module¶
Utilize the Sign protocol in Ostinato streams for tracking per-stream packet loss, latency and jitter using the Python API.
To add and configure Sign in a stream, add a protocol to the stream, set the protocol id to ost_pb.Protocol.kSignFieldNumber
and access the Sign object from the Protocol object's Extensions
dictionary using the key sign_pb2.sign
from ostinato.protocols import sign_pb2
...
# stream is an object of type ost_pb.Stream
proto = stream.protocol.add()
proto.protocol_id.id = ost_pb.Protocol.kSignFieldNumber
my_sign = proto.Extensions[sign_pb2.sign]
my_sign.<attribute>
Sign class¶
Class attributes¶
stream_guid¶
Sign.stream_guid : long