Skip to content

Commit

Permalink
Refectoring
Browse files Browse the repository at this point in the history
  • Loading branch information
shogo4405 committed Aug 12, 2017
1 parent 92670f5 commit 261ab04
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Examples/iOS/AppDelegate.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import UIKit
import AVFoundation
import Logboard
import HaishinKit

let logger:Logboard = Logboard.with("com.haishinkit.Exsample.iOS")

Expand All @@ -17,6 +18,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
try AVAudioSession.sharedInstance().setActive(true)
} catch {
}

Logboard.with(HaishinKit.identifier).level = .trace

return true
}
Expand Down
2 changes: 1 addition & 1 deletion Sources/RTMP/RTMPStream.swift
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ open class RTMPStream: NetStream {
self.info.resourceName = name
self.howToPublish = type
self.readyState = .publish
self.FCUnpublish()
self.FCPublish()
self.rtmpConnection.socket.doOutput(chunk: RTMPChunk(
type: .zero,
streamId: RTMPChunk.StreamID.audio.rawValue,
Expand Down

0 comments on commit 261ab04

Please sign in to comment.