]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/helpers/activitypub.ts
Fix youtube import
[github/Chocobozzz/PeerTube.git] / server / helpers / activitypub.ts
index d28453d793f405a42f6b355ba4cdaccc1cc3514f..1188d6cf9fd46e3843d46ac7b4e3e5539d868077 100644 (file)
@@ -39,6 +39,16 @@ function getContextData (type: ContextType) {
         sensitive: 'as:sensitive',
         language: 'sc:inLanguage',
 
+        isLiveBroadcast: 'sc:isLiveBroadcast',
+        liveSaveReplay: {
+          '@type': 'sc:Boolean',
+          '@id': 'pt:liveSaveReplay'
+        },
+        permanentLive: {
+          '@type': 'sc:Boolean',
+          '@id': 'pt:permanentLive'
+        },
+
         Infohash: 'pt:Infohash',
         Playlist: 'pt:Playlist',
         PlaylistElement: 'pt:PlaylistElement',