Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename createMetadata to makeMetadata #1288

Merged
merged 1 commit into from
Sep 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Sources/RTMP/RTMPStream.swift
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ open class RTMPStream: NetStream {
}

/// Creates flv metadata for a stream.
open func createMetaData() -> ASObject {
open func makeMetaData() -> ASObject {
var metadata: [String: Any] = [:]
#if os(iOS) || os(macOS)
if mixer.videoIO.capture.device != nil {
Expand Down Expand Up @@ -521,7 +521,7 @@ open class RTMPStream: NetStream {
dataTimeStamps.removeAll()
FCPublish()
case .publishing:
send(handlerName: "@setDataFrame", arguments: "onMetaData", createMetaData())
send(handlerName: "@setDataFrame", arguments: "onMetaData", makeMetaData())
mixer.startEncoding(muxer)
default:
break
Expand Down