Live video on the AT Protocol

fixing lintzors

authored by Natalie B. and committed by Eli Mallon 196e0804 f2169f59

+72 -72
+1
js/app/components/mobile/player.tsx
··· 61 function PlayerWithProvider( 62 props: Partial<PlayerProps> & { 63 setFullscreen?: (fullscreen: boolean) => void; 64 }, 65 ) { 66 const [showChat, setShowChat] = useState(true);
··· 61 function PlayerWithProvider( 62 props: Partial<PlayerProps> & { 63 setFullscreen?: (fullscreen: boolean) => void; 64 + onTeleport?: (targetHandle: string, targetDID: string) => void; 65 }, 66 ) { 67 const [showChat, setShowChat] = useState(true);
-1
js/components/src/livestream-store/websocket-consumer.tsx
··· 8 PlaceStreamDefs, 9 PlaceStreamLivestream, 10 PlaceStreamLiveTeleport, 11 - PlaceStreamModerationPermission, 12 PlaceStreamSegment, 13 } from "streamplace"; 14 import { SystemMessages } from "../lib/system-messages";
··· 8 PlaceStreamDefs, 9 PlaceStreamLivestream, 10 PlaceStreamLiveTeleport, 11 PlaceStreamSegment, 12 } from "streamplace"; 13 import { SystemMessages } from "../lib/system-messages";
+71 -71
js/docs/src/content/docs/lex-reference/openapi.json
··· 517 } 518 } 519 }, 520 - "/xrpc/place.stream.live.denyTeleport": { 521 - "post": { 522 - "summary": "Deny an incoming teleport request.", 523 - "operationId": "place.stream.live.denyTeleport", 524 - "tags": ["place.stream.live"], 525 - "responses": { 526 - "200": { 527 - "description": "Success", 528 - "content": { 529 - "application/json": { 530 - "schema": { 531 - "type": "object", 532 - "properties": { 533 - "success": { 534 - "type": "boolean", 535 - "description": "Whether the teleport was successfully denied." 536 - } 537 - }, 538 - "required": ["success"] 539 - } 540 - } 541 - } 542 - }, 543 - "400": { 544 - "description": "Bad Request", 545 - "content": { 546 - "application/json": { 547 - "schema": { 548 - "type": "object", 549 - "required": ["error", "message"], 550 - "properties": { 551 - "error": { 552 - "type": "string", 553 - "oneOf": [ 554 - { 555 - "const": "TeleportNotFound" 556 - }, 557 - { 558 - "const": "Unauthorized" 559 - } 560 - ] 561 - }, 562 - "message": { 563 - "type": "string" 564 - } 565 - } 566 - } 567 - } 568 - } 569 - } 570 - }, 571 - "requestBody": { 572 - "required": true, 573 - "content": { 574 - "application/json": { 575 - "schema": { 576 - "type": "object", 577 - "properties": { 578 - "uri": { 579 - "type": "string", 580 - "description": "The URI of the teleport record to deny.", 581 - "format": "uri" 582 - } 583 - }, 584 - "required": ["uri"] 585 - } 586 - } 587 - } 588 - } 589 - } 590 - }, 591 "/xrpc/place.stream.multistream.createTarget": { 592 "post": { 593 "summary": "Create a new target for rebroadcasting a Streamplace stream.", ··· 1212 } 1213 }, 1214 "required": ["streamer", "livestreamUri"] 1215 } 1216 } 1217 }
··· 517 } 518 } 519 }, 520 "/xrpc/place.stream.multistream.createTarget": { 521 "post": { 522 "summary": "Create a new target for rebroadcasting a Streamplace stream.", ··· 1141 } 1142 }, 1143 "required": ["streamer", "livestreamUri"] 1144 + } 1145 + } 1146 + } 1147 + } 1148 + } 1149 + }, 1150 + "/xrpc/place.stream.live.denyTeleport": { 1151 + "post": { 1152 + "summary": "Deny an incoming teleport request.", 1153 + "operationId": "place.stream.live.denyTeleport", 1154 + "tags": ["place.stream.live"], 1155 + "responses": { 1156 + "200": { 1157 + "description": "Success", 1158 + "content": { 1159 + "application/json": { 1160 + "schema": { 1161 + "type": "object", 1162 + "properties": { 1163 + "success": { 1164 + "type": "boolean", 1165 + "description": "Whether the teleport was successfully denied." 1166 + } 1167 + }, 1168 + "required": ["success"] 1169 + } 1170 + } 1171 + } 1172 + }, 1173 + "400": { 1174 + "description": "Bad Request", 1175 + "content": { 1176 + "application/json": { 1177 + "schema": { 1178 + "type": "object", 1179 + "required": ["error", "message"], 1180 + "properties": { 1181 + "error": { 1182 + "type": "string", 1183 + "oneOf": [ 1184 + { 1185 + "const": "TeleportNotFound" 1186 + }, 1187 + { 1188 + "const": "Unauthorized" 1189 + } 1190 + ] 1191 + }, 1192 + "message": { 1193 + "type": "string" 1194 + } 1195 + } 1196 + } 1197 + } 1198 + } 1199 + } 1200 + }, 1201 + "requestBody": { 1202 + "required": true, 1203 + "content": { 1204 + "application/json": { 1205 + "schema": { 1206 + "type": "object", 1207 + "properties": { 1208 + "uri": { 1209 + "type": "string", 1210 + "description": "The URI of the teleport record to deny.", 1211 + "format": "uri" 1212 + } 1213 + }, 1214 + "required": ["uri"] 1215 } 1216 } 1217 }