fix can’t test :(
This commit is contained in:
parent
dcaad07eb5
commit
a38799de07
|
@ -2,6 +2,7 @@ import HaishinKit
|
|||
import UIKit
|
||||
import AVFoundation
|
||||
import Photos
|
||||
import VideoToolbox
|
||||
|
||||
let sampleRate:Double = 44_100
|
||||
|
||||
|
@ -53,6 +54,8 @@ final class LiveViewController: UIViewController {
|
|||
rtmpStream.videoSettings = [
|
||||
"width": 1280,
|
||||
"height": 720,
|
||||
"bitrate": 900 * 1024,
|
||||
"profileLevel": kVTProfileLevel_H264_Baseline_AutoLevel,
|
||||
]
|
||||
rtmpStream.audioSettings = [
|
||||
"sampleRate": sampleRate
|
||||
|
|
|
@ -1570,8 +1570,7 @@
|
|||
files = (
|
||||
);
|
||||
inputPaths = (
|
||||
"$(SRCROOT)/Carthage/Build/Mac/XCGLogger.framework",
|
||||
"$(SRCROOT)/Carthage/Build/Mac/ObjcExceptionBridging.framework",
|
||||
"$(SRCROOT)/Carthage/Build/Mac/Logboard.framework",
|
||||
);
|
||||
outputPaths = (
|
||||
);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import Foundation
|
||||
import XCTest
|
||||
|
||||
@testable import lf
|
||||
@testable import HaishinKit
|
||||
|
||||
final class FoundationExtensionTest: XCTestCase {
|
||||
func testNSURL() {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import Foundation
|
||||
import XCTest
|
||||
|
||||
@testable import lf
|
||||
@testable import HaishinKit
|
||||
|
||||
final class SwiftCoreExtensionTests: XCTestCase {
|
||||
func testInt32() {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import Foundation
|
||||
import XCTest
|
||||
|
||||
@testable import lf
|
||||
@testable import HaishinKit
|
||||
|
||||
final class HTTPRequestTests: XCTestCase {
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import Foundation
|
||||
import XCTest
|
||||
|
||||
@testable import lf
|
||||
@testable import HaishinKit
|
||||
|
||||
final class MP4SamplerTests: XCTestCase {
|
||||
func testMain() {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import Foundation
|
||||
import XCTest
|
||||
|
||||
@testable import lf
|
||||
@testable import HaishinKit
|
||||
|
||||
final class PacketizedElementaryStreamTests: XCTestCase {
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import Foundation
|
||||
import XCTest
|
||||
|
||||
@testable import lf
|
||||
@testable import HaishinKit
|
||||
|
||||
final class ProgramSpecificTests: XCTestCase {
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import Foundation
|
||||
import XCTest
|
||||
|
||||
@testable import lf
|
||||
@testable import HaishinKit
|
||||
|
||||
final class TSTests: XCTestCase {
|
||||
static let dataWithMetadata:Data = Data([71, 64, 17, 16, 0, 66, 240, 37, 0, 1, 193, 0, 0, 0, 1, 255, 0, 1, 252, 128, 20, 72, 18, 1, 6, 70, 70, 109, 112, 101, 103, 9, 83, 101, 114, 118, 105, 99, 101, 48, 49, 167, 121, 160, 3, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255])
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import Foundation
|
||||
import XCTest
|
||||
|
||||
@testable import lf
|
||||
@testable import HaishinKit
|
||||
|
||||
final class AMF0SerializerTests: XCTestCase {
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import Foundation
|
||||
import XCTest
|
||||
|
||||
@testable import lf
|
||||
@testable import HaishinKit
|
||||
|
||||
final class ASClassTests: XCTestCase {
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import Foundation
|
||||
import XCTest
|
||||
|
||||
@testable import lf
|
||||
@testable import HaishinKit
|
||||
|
||||
final class RTMPChunkTests: XCTestCase {
|
||||
func testChunkTwo() {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import Foundation
|
||||
import XCTest
|
||||
|
||||
@testable import lf
|
||||
@testable import HaishinKit
|
||||
|
||||
final class RTMPConnectionTests: XCTestCase {
|
||||
func publish() {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import Foundation
|
||||
import XCTest
|
||||
|
||||
@testable import lf
|
||||
@testable import HaishinKit
|
||||
|
||||
final class RTMPReaderTests: XCTestCase {
|
||||
func testReader() {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import Foundation
|
||||
import XCTest
|
||||
|
||||
@testable import lf
|
||||
@testable import HaishinKit
|
||||
|
||||
final class SessionDescriptionTests: XCTestCase {
|
||||
static let contents:String =
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import Foundation
|
||||
import XCTest
|
||||
|
||||
@testable import lf
|
||||
@testable import HaishinKit
|
||||
|
||||
final class ByteArrayTests: XCTestCase {
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import Foundation
|
||||
import XCTest
|
||||
|
||||
@testable import lf
|
||||
@testable import HaishinKit
|
||||
|
||||
final class CRC32Tests: XCTestCase {
|
||||
static let tableOfMpeg2:[UInt32] = [
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import Foundation
|
||||
import XCTest
|
||||
|
||||
@testable import lf
|
||||
@testable import HaishinKit
|
||||
|
||||
final class EventDispatcherTest: XCTestCase {
|
||||
func testMain() {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import Foundation
|
||||
import XCTest
|
||||
|
||||
@testable import lf
|
||||
@testable import HaishinKit
|
||||
|
||||
final class MD5Tests: XCTestCase {
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import Foundation
|
||||
import XCTest
|
||||
|
||||
@testable import lf
|
||||
@testable import HaishinKit
|
||||
|
||||
final class TimerDriverTests: XCTestCase {
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue