mirror of
https://github.com/HaishinKit/HaishinKit.swift.git
synced 2026-05-07 20:12:28 +00:00
24 lines
514 B
Swift
24 lines
514 B
Swift
import HaishinKit
|
|
@preconcurrency import Logboard
|
|
import RTMPHaishinKit
|
|
import SRTHaishinKit
|
|
import SwiftUI
|
|
|
|
let logger = LBLogger.with("com.haishinkit.HaishinKit.visionOSApp")
|
|
|
|
@main
|
|
struct HaishinApp: App {
|
|
var body: some Scene {
|
|
WindowGroup {
|
|
ContentView()
|
|
}
|
|
}
|
|
|
|
init() {
|
|
Task {
|
|
await StreamSessionBuilderFactory.shared.register(RTMPSessionFactory())
|
|
await StreamSessionBuilderFactory.shared.register(SRTSessionFactory())
|
|
}
|
|
}
|
|
}
|