Support video-only streams if there is no audio in the inbound stream. (#401)

Closes #400
This commit is contained in:
Gabe Kangas
2020-12-02 00:19:55 -08:00
committed by GitHub
parent cdbfd89a0f
commit 0b66f3b79f
7 changed files with 28 additions and 5 deletions

View File

@@ -18,6 +18,7 @@ type InboundStreamDetails struct {
AudioBitrate int `json:"audioBitrate"`
AudioCodec string `json:"audioCodec"`
Encoder string `json:"encoder"`
VideoOnly bool `json:"-"`
}
// RTMPStreamMetadata is the raw metadata that comes in with a RTMP connection.