Skip to content

Commit

Permalink
Change in visibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
shogo4405 committed Oct 14, 2023
1 parent 17f25c6 commit 601dd67
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@ fastlane/report.xml
docs/docsets/HaishinKit.docset/Contents/Resources/Documents/undocumented.json
Vendor/SRT/OpenSSL/
Vendor/SRT/srt/
HaishinKit.json
SRTHaishinKit.json
4 changes: 2 additions & 2 deletions Sources/Media/IOMixer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -315,10 +315,10 @@ extension IOMixer: Running {
}
#else
extension IOMixer: Running {
public func startRunning() {
func startRunning() {
}

public func stopRunning() {
func stopRunning() {
}
}
#endif
Expand Down
4 changes: 2 additions & 2 deletions Sources/RTMP/EventDispatcher.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public protocol EventDispatcherConvertible: AnyObject {

// MARK: -
/// The Event interface is used to provide information.
open class Event {
public final class Event {
/// A structure that defines the name of an event.
public struct Name: RawRepresentable, ExpressibleByStringLiteral {
// swiftlint:disable:next nesting
Expand Down Expand Up @@ -78,7 +78,7 @@ extension Event: CustomDebugStringConvertible {
/**
* The EventDispatcher interface is in implementation which supports the DOM Event Model.
*/
open class EventDispatcher: EventDispatcherConvertible {
public class EventDispatcher: EventDispatcherConvertible {
private weak var target: AnyObject?

/// Creates a new event dispatcher.
Expand Down
2 changes: 1 addition & 1 deletion Sources/RTMP/RTMPSharedObject.swift
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ extension RTMPSharedObjectEvent: CustomDebugStringConvertible {

// MARK: -
/// The RTMPSharedObject class is used to read and write data on a server.
public class RTMPSharedObject: EventDispatcher {
public final class RTMPSharedObject: EventDispatcher {
private static var remoteSharedObjects: [String: RTMPSharedObject] = [:]

/// Returns a reference to a shared object on a server.
Expand Down
2 changes: 1 addition & 1 deletion Sources/Util/ByteArray.swift
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ protocol ByteArrayConvertible {
/**
* The ByteArray class provides methods and properties the reading or writing with binary data.
*/
open class ByteArray: ByteArrayConvertible {
public class ByteArray: ByteArrayConvertible {
static let fillZero: [UInt8] = [0x00]

static let sizeOfInt8: Int = 1
Expand Down

0 comments on commit 601dd67

Please sign in to comment.