StreamState public enum StreamState Documentation Closed = 8 Closing = 7 Connected = 4 Connecting = 3 Failed = 6 Failing = 5 Initializing = 2 New = 1