Skip to content

Commit 862201e

Browse files
committed
Refactoring.
1 parent d524027 commit 862201e

File tree

3 files changed

+0
-31
lines changed

3 files changed

+0
-31
lines changed

Common/Localizable.xcstrings

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -76585,12 +76585,6 @@
7658576585
}
7658676586
}
7658776587
}
76588-
},
76589-
"Example: whip://whip.example.com/ingest/stream" : {
76590-
76591-
},
76592-
"Example: whips://whip.example.com/ingest/stream" : {
76593-
7659476588
},
7659576589
"EXB" : {
7659676590
"localizations" : {
@@ -196410,9 +196404,6 @@
196410196404
}
196411196405
}
196412196406
}
196413-
},
196414-
"Template: whips://my_whip_server/whip/endpoint" : {
196415-
196416196407
},
196417196408
"Tennis" : {
196418196409
"localizations" : {
@@ -223332,9 +223323,6 @@
223332223323
},
223333223324
"When \"Audio only\" mode is selected, no video will be rendered at all. Only audio will play." : {
223334223325

223335-
},
223336-
"WHIP" : {
223337-
223338223326
},
223339223327
"Whirlpool" : {
223340223328
"localizations" : {

Moblin/Various/Settings/SettingsStream.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1448,8 +1448,6 @@ class SettingsStream: Codable, Identifiable, Equatable, ObservableObject, Named
14481448
return "SRTLA"
14491449
} else if getProtocol() == .rtmp && isRtmps() {
14501450
return "RTMPS"
1451-
} else if getProtocol() == .whip {
1452-
return "WHIP"
14531451
} else {
14541452
return getProtocol().rawValue
14551453
}

Moblin/View/Settings/Streams/Stream/Url/StreamUrlSettingsView.swift

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -108,20 +108,6 @@ private struct SrtHelpView: View {
108108
}
109109
}
110110

111-
private struct WhipHelpView: View {
112-
var body: some View {
113-
Section {
114-
VStack(alignment: .leading) {
115-
Text("Template: whips://my_whip_server/whip/endpoint")
116-
Text("Example: whips://whip.example.com/ingest/stream")
117-
Text("Example: whip://whip.example.com/ingest/stream")
118-
}
119-
} header: {
120-
Text("WHIP")
121-
}
122-
}
123-
}
124-
125111
private struct UrlSettingsView: View {
126112
@EnvironmentObject var model: Model
127113
@Environment(\.dismiss) var dismiss
@@ -188,9 +174,6 @@ private struct UrlSettingsView: View {
188174
if showSrtHelp {
189175
SrtHelpView()
190176
}
191-
if showWhipHelp {
192-
WhipHelpView()
193-
}
194177
}
195178
.navigationTitle("Help")
196179
.toolbar {

0 commit comments

Comments
 (0)