Skip to content

Commit

Permalink
add podcast:chat
Browse files Browse the repository at this point in the history
  • Loading branch information
joksas committed Dec 20, 2023
1 parent 2ec2afa commit 38a979e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions namespace_podcast.go
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ type PodcastLiveItem struct {
ITunesImage *ITunesImage
ITunesSeasonNumber *int64 `xml:"itunes:season"`
PodcastAlternateEnclosures []PodcastAlternateEnclosure
PodcastChat *PodcastChat
PodcastContentLinks []PodcastContentLink
PodcastEpisode *PodcastEpisode
PodcastISRC *PodcastISRC
Expand All @@ -368,3 +369,13 @@ type PodcastLiveValue struct {
URI string `xml:"uri,attr"`
Protocol string `xml:"protocol,attr"`
}

// PodcastChat is an experimental tag to enable chat during a livestream.
type PodcastChat struct {
XMLName xml.Name `xml:"podcast:chat"`
Server string `xml:"server,attr"`
Protocol string `xml:"protocol,attr"`
AccountID *string `xml:"accountId,attr"`
Space *string `xml:"space,attr"`
EmbedURL *string `xml:"embedUrl,attr"`
}

0 comments on commit 38a979e

Please sign in to comment.