Files
HaishinKit.swift/HaishinKit/Sources/Stream/StreamReadyState.swift
2025-07-21 19:45:37 +09:00

16 lines
491 B
Swift

import Foundation
/// The enumeration defines the state a HKStream client is in.
public enum StreamReadyState: Int, Sendable {
/// The stream is idling.
case idle
/// The stream has sent a request to play and is waiting for approval from the server.
case play
/// The stream is playing.
case playing
/// The streamhas sent a request to publish and is waiting for approval from the server.
case publish
/// The stream is publishing.
case publishing
}