Skip to content

Commit d3ee0c1

Browse files
Copiloteerimoq
andcommitted
Fix import and add periphery:ignore annotations for protocol-required parameters
Co-authored-by: eerimoq <176810+eerimoq@users.noreply.github.com>
1 parent 4c0f78b commit d3ee0c1

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Moblin/Media/HaishinKit/Whip/WhipServer.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import CoreMedia
12
import Foundation
23

34
let whipServerDispatchQueue = DispatchQueue(label: "com.eerimoq.whip-server")

Moblin/Various/Model/ModelWhipServer.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,14 @@ extension Model: WhipServerDelegate {
119119
handleWhipServerPublishStop(clientId: clientId, reason: reason)
120120
}
121121

122+
// periphery:ignore
122123
func whipServerOnVideoBuffer(clientId: UUID, _ sampleBuffer: CMSampleBuffer) {
123124
if let stream = database.whipServer.streams.first {
124125
handleWhipServerFrame(cameraId: stream.id, sampleBuffer: sampleBuffer)
125126
}
126127
}
127128

129+
// periphery:ignore
128130
func whipServerOnAudioBuffer(clientId: UUID, _ sampleBuffer: CMSampleBuffer) {
129131
if let stream = database.whipServer.streams.first {
130132
handleWhipServerAudioBuffer(cameraId: stream.id, sampleBuffer: sampleBuffer)

0 commit comments

Comments
 (0)