···11import { Agent } from "@atproto/api";
22import { SessionManager } from "@atproto/api/dist/session-manager";
33-import { PlaceNS } from "lexicons";
33+import { PlaceNS } from "streamplace";
44import { schemas as parentSchemas } from "@atproto/api/dist/client/lexicons";
55-import { schemas as appSchemas } from "../../lexicons/lexicons";
55+import { schemas as appSchemas } from "streamplace";
66import { Lexicons } from "@atproto/lexicon";
77export class StreamplaceAgent extends Agent {
88 place = new PlaceNS(this);
+1-1
js/app/features/bluesky/blueskySlice.tsx
···2424 PlaceStreamChatProfile,
2525 PlaceStreamKey,
2626 PlaceStreamLivestream,
2727-} from "lexicons";
2727+} from "streamplace";
2828import Storage from "storage";
2929import { isWeb } from "tamagui";
3030import { privateKeyToAccount } from "viem/accounts";
+1-1
js/app/features/bluesky/blueskyTypes.tsx
···11import { OAuthSession } from "@streamplace/atproto-oauth-client-react-native";
22import { ProfileViewDetailed } from "@atproto/api/dist/client/types/app/bsky/actor/defs";
33import { StreamKey } from "features/base/baseSlice";
44-import { PlaceStreamChatProfile, PlaceStreamLivestream } from "lexicons";
44+import { PlaceStreamChatProfile, PlaceStreamLivestream } from "streamplace";
55import { StreamplaceOAuthClient } from "./oauthClient";
66import { StreamplaceAgent } from "./agent";
77
···11import { selectMySegments } from "features/streamplace/streamplaceSlice";
22-import { isRecord } from "lexicons/types/place/stream/segment";
32import { useAppSelector } from "store/hooks";
44-import { PlaceStreamSegment } from "lexicons";
33+import { PlaceStreamSegment } from "streamplace";
5465// composite selector that tells us when the current user is live
76export const useLiveUser = (): boolean => {
···98 if (mySegments.length === 0) {
109 return false;
1110 }
1212- if (!isRecord(mySegments[0].record)) {
1111+ if (!PlaceStreamSegment.isRecord(mySegments[0].record)) {
1312 return false;
1413 }
1514 const record = mySegments[0].record as PlaceStreamSegment.Record;
···6767[download a production release of Streamplace](https://git.stream.place/streamplace/streamplace/-/releases)
6868and configure it to forward to the dev server with a command like:
69697070-````shell
7070+```shell
7171curl -O https://git-cloudflare.stream.place/api/v4/projects/1/packages/generic/latest/VERSION/streamplace-VERSION-darwin-arm64.tar.gz
7272tar -xzvf streamplace-VERSION-darwin-arm64.tar.gz
7373./streamplace --dev-frontend-proxy=http://127.0.0.1:38081
7474```
75757676-Either way, once you have a local Streamplace node running, install the prerequisites with:
7676+Either way, once you have a local Streamplace node running, install the
7777+prerequisites with:
77787879```shell
7980pnpm install
8080-````
8181+```
81828282-#### Web
8383+Then start building all of the packages with:
83848485```shell
8585-pnpm run app start
8686+pnpm run start
8687```
87888888-#### iOS
8989+#### iOS Build
89909091```shell
9192pnpm run app ios
9293```
93949494-#### Android
9595+#### Android Build
95969697```shell
9798pnpm run app android
9899```
99100100101You can also specify a physical device with something like
101101-`pnpm run app ios -d 'Stream’s iPhone'`. Note also that this command runs a full
102102-native build of the iOS/Android app, which is not necessary in many cases: once
103103-you have a copy of the `Devplace` app on your device or emulator, you can boot
104104-the dev server back up with `pnpm run app start`.
102102+`pnpm run app ios -d 'Stream’s iPhone'`. Note that these commands only run
103103+native builds; you'll still need the development server booted up with
104104+`pnpm run start`.
105105106106Note also that `react-native-webrtc`, our primary package for streaming in and
107107playing back on iOS/Android, doesn't work very well in the iOS Simulator. It may
108108work, it may crash. Physical devices preferred when possible!
109109-110110-### Streamplace Desktop
111111-112112-1. `pnpm install`
113113-2. `pnpm run desktop start`
114114-115115-By default Streamplace Desktop will assume there's a local node to connect to,
116116-running with something like `make dev && ./build-linux-amd64/streamplace` above.
117109118110### Streamplace Docs
119111