From e2c80b4127156bdea941767609613e291b5816f7 Mon Sep 17 00:00:00 2001 From: Taehyeon-Kim Date: Mon, 8 Jan 2024 16:22:07 +0900 Subject: [PATCH 1/2] Fix typos --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b84971892..08187e1c1 100644 --- a/README.md +++ b/README.md @@ -174,7 +174,7 @@ do { ### Ingest ```swift let connection = RTMPConnection() -let stream = RTMPStream(connection: rtmpConnection) +let stream = RTMPStream(connection: connection) stream.attachAudio(AVCaptureDevice.default(for: .audio)) { error in // print(error) From 54a94ca1cecff545bf123fbb7ecc91c155cd583c Mon Sep 17 00:00:00 2001 From: Taehyeon-Kim Date: Mon, 8 Jan 2024 16:32:36 +0900 Subject: [PATCH 2/2] Fix typos --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 08187e1c1..f372d61dd 100644 --- a/README.md +++ b/README.md @@ -200,7 +200,7 @@ stream.publish("streamName") ### Playback ```swift let connection = RTMPConnection() -let stream = RTMPStream(connection: rtmpConnection) +let stream = RTMPStream(connection: connection) let hkView = MTHKView(frame: view.bounds) hkView.videoGravity = AVLayerVideoGravity.resizeAspectFill