Skip to content

Commit

Permalink
Added a comment #1410
Browse files Browse the repository at this point in the history
  • Loading branch information
shogo4405 committed Jan 29, 2025
1 parent 9fe54b1 commit 673435f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions HaishinKit/Sources/RTMP/RTMPStream.swift
Original file line number Diff line number Diff line change
Expand Up @@ -677,9 +677,8 @@ public actor RTMPStream {

/// Creates flv metadata for a stream.
private func makeMetadata() -> AMFArray {
var metadata: AMFObject = [
"duration": 0
]
// https://github.com/shogo4405/HaishinKit.swift/issues/1410
var metadata: AMFObject = ["duration": 0]
if outgoing.videoInputFormat != nil {
metadata["width"] = outgoing.videoSettings.videoSize.width
metadata["height"] = outgoing.videoSettings.videoSize.height
Expand Down

0 comments on commit 673435f

Please sign in to comment.