-function getLocalVideoViewActivityPubUrl (byActor: MActorUrl, video: MVideoId) {
- return byActor.url + '/views/videos/' + video.id + '/' + new Date().toISOString()
+function getLocalVideoViewActivityPubUrl (byActor: MActorUrl, video: MVideoId, viewerIdentifier: string) {
+ return byActor.url + '/views/videos/' + video.id + '/' + viewerIdentifier
+}
+
+function getLocalVideoViewerActivityPubUrl (stats: MLocalVideoViewer) {
+ return WEBSERVER.URL + '/videos/local-viewer/' + stats.uuid