Skip to content

Commit

Permalink
Merge pull request #1288 from shogo4405/feature/create-to-make
Browse files Browse the repository at this point in the history
Rename createMetadata to makeMetadata
  • Loading branch information
shogo4405 authored Sep 8, 2023
2 parents c0ab299 + 72b196b commit bb402df
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
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

0 comments on commit bb402df

Please sign in to comment.