Skip to content

Commit

Permalink
Merge pull request #4 from msdrigg/main
Browse files Browse the repository at this point in the history
  • Loading branch information
ydnar authored Jun 16, 2024
2 parents 020c979 + 0b9597b commit 16bf49d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Sources/RTP/Packet.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Foundation

// Packet represents an individual RTP packet.
public struct Packet {
public struct Packet: Sendable {
static let version: UInt8 = 2
static let versionMask: UInt8 = 0b1100_0000
static let paddingMask: UInt8 = 0b0010_0000
Expand Down Expand Up @@ -172,7 +172,7 @@ public struct Packet {
}

// Extension represents an RTP extension.
public struct Extension {
public struct Extension: Sendable {
public typealias ProfileID = UInt16

static let headerSize = 4
Expand Down
2 changes: 1 addition & 1 deletion Sources/RTP/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public enum EncodingError: Error {
case tooManyCSRCs(_ count: Int)
}

public struct PayloadType: ExpressibleByIntegerLiteral, RawRepresentable, Equatable {
public struct PayloadType: ExpressibleByIntegerLiteral, RawRepresentable, Equatable, Sendable {
public typealias IntegerLiteralType = UInt8

public static let marker: Self = 0b1000_0000
Expand Down

0 comments on commit 16bf49d

Please sign in to comment.