Created
August 5, 2018 21:34
-
-
Save sfaxon/980cd236ae8815a42d75e7dfb139f196 to your computer and use it in GitHub Desktop.
HaishinKit diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Examples/iOS/LiveViewController.swift b/Examples/iOS/LiveViewController.swift | |
index 785799a..f56ae39 100644 | |
--- a/Examples/iOS/LiveViewController.swift | |
+++ b/Examples/iOS/LiveViewController.swift | |
@@ -43,6 +43,8 @@ final class LiveViewController: UIViewController { | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
+ | |
+ rtmpConnection.flashVer = "SomeCustomName" | |
rtmpStream = RTMPStream(connection: rtmpConnection) | |
rtmpStream.syncOrientation = true | |
@@ -52,8 +54,9 @@ final class LiveViewController: UIViewController { | |
"continuousExposure": true | |
] | |
rtmpStream.videoSettings = [ | |
- "width": 720, | |
- "height": 1280 | |
+ "width": 1280, | |
+ "height": 720, | |
+ "maxKeyFrameIntervalDuration": 3 | |
] | |
rtmpStream.audioSettings = [ | |
"sampleRate": sampleRate | |
diff --git a/Examples/iOS/Preference.swift b/Examples/iOS/Preference.swift | |
index 4f50a95..228ff6e 100644 | |
--- a/Examples/iOS/Preference.swift | |
+++ b/Examples/iOS/Preference.swift | |
@@ -1,6 +1,6 @@ | |
struct Preference { | |
static var defaultInstance: Preference = Preference() | |
- var uri: String? = "rtmp://test:[email protected]/live" | |
- var streamName: String? = "live" | |
+ var uri: String? = "rtmp://ca.pscp.tv:80/x" | |
+ var streamName: String? = "sekret" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment