Skip to content

Commit

Permalink
workaround swiftformat issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lhoward committed Dec 16, 2023
1 parent aa52562 commit 81d9057
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Sources/SwiftOCA/OCC/ControlDataTypes/MediaStreamDataTypes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -188,15 +188,16 @@ public enum OcaMediaStreamModeCapabilityDirection: OcaUint8, Codable, Sendable {
}

public struct OcaMediaTransportSession: Codable, Sendable {
public typealias ConnectionStateMap =
[OcaMediaTransportSessionConnectionID: OcaMediaTransportSessionConnectionState]

public let idInternal: OcaMediaTransportSessionID
public let idExternal: OcaBlob
public let userLabel: OcaString
public let streamingEnabled: OcaBoolean
public let adaptationData: OcaAdaptationData
public let connections: [OcaMediaTransportSessionConnection]
public let connectionStates: [
OcaMediaTransportSessionConnectionID: OcaMediaTransportSessionConnectionState
]
public let connectionStates: ConnectionStateMap
/*
public let transportSessionConnection: OcaMediaTransportSessionConnection
public let transportSessionAgent: OcaMediaTransportSessionAgent
Expand All @@ -209,9 +210,7 @@ public struct OcaMediaTransportSession: Codable, Sendable {
streamingEnabled: OcaBoolean,
adaptationData: OcaAdaptationData,
connections: [OcaMediaTransportSessionConnection],
connectionStates: [
OcaMediaTransportSessionConnectionID: OcaMediaTransportSessionConnectionState,
]
connectionStates: ConnectionStateMap
) {
self.idInternal = idInternal
self.idExternal = idExternal
Expand Down

0 comments on commit 81d9057

Please sign in to comment.