Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change RTMPStream readyState observers to open
Browse files Browse the repository at this point in the history
levs42 committed Feb 9, 2024
1 parent 31cd4f8 commit b20c4a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/RTMP/RTMPStream.swift
Original file line number Diff line number Diff line change
@@ -416,7 +416,7 @@ open class RTMPStream: IOStream {
return metadata
}

override public func readyStateWillChange(to readyState: IOStream.ReadyState) {
override open func readyStateWillChange(to readyState: IOStream.ReadyState) {
switch self.readyState {
case .publishing:
FCUnpublish()
@@ -426,7 +426,7 @@ open class RTMPStream: IOStream {
super.readyStateWillChange(to: readyState)
}

override public func readyStateDidChange(to readyState: IOStream.ReadyState) {
override open func readyStateDidChange(to readyState: IOStream.ReadyState) {
guard let connection else {
return
}

0 comments on commit b20c4a6

Please sign in to comment.