Fishjam React Native Clientのロゴ

Fishjam React Native Client

組織
software-mansion-labs
fishjam-react-native-client

Fishjam用のReact Native / Expo SDKです。iOSとAndroidでの動画/音声ストリーミングに対応します。Fishjam APIを呼び出すReact NativeまたはExpoアプリの作成、Fishjam Expo pluginの設定、権限の設定、バックグラウンドでのストリーミング、CallKitとの連携、RTCViewの表示を行う場合に使用してください。次の内容が出てきた場合に使用してください: '@fishjam-cloud/react-native-client'、'fishjam expo plugin'、'FishjamProvider mobile'、'useCameraPermissions'、'useMicrophonePermissions'、'useForegroundService'、'useCallKit'、'useCallKitEvent'、'useCallKitService'、'RTCView'、'RTCPIPView'、'ScreenCapturePickerView'、'startPIP'、'stopPIP'、'AudioDeviceType'、'useAudioOutput'、'@fishjam-cloud/react-native-webrtc'、'fishjam react native'、'expo fishjam'、'fishjam ios'、'fishjam android'、'broadcast extension'。@fishjam-cloud/react-clientのフックも再エクスポートします。モバイル専用機能には、権限、フォアグラウンドサービス、iOSブロードキャスト拡張機能、音声ルーティング、CallKit、Expo config pluginが含まれます。

Add to TypingMind

概要

公開者software-mansion-labs
リポジトリskills
スキル名fishjam-react-native-client
スター
296
フォーク
21
同梱ファイル
10
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 10個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    software-mansion-labsがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Fishjam React Native Client」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/software-mansion-labs/skills/tree/main/skills/fishjam/references/react-native-client
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/software-mansion-labs/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/fishjam/references/react-native-client .claude/skills/fishjam-react-native-client
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでFishjam React Native Clientを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にFishjam React Native Clientを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Fishjam React Native Clientは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Fishjam React Native Client

@fishjam-cloud/react-native-client — Fishjam's SDK for React Native / Expo apps on iOS and Android. Re-exports the web @fishjam-cloud/react-client hook surface, overrides some hooks with mobile-aware versions, and adds mobile-only APIs.

Read ../platform/SKILL.md first for the domain model.

Read ../react-client/SKILL.md for the shared hook catalog. This skill is the mobile delta — permissions, foreground service, screen-share broadcast extension, CallKit, audio routing, the Expo plugin. The hooks that work identically to the web SDK aren't re-documented here.

Minimal app

bash
npm install @fishjam-cloud/react-native-client @fishjam-cloud/react-native-webrtc
# @fishjam-cloud/react-native-webrtc is a peerDependency — install it explicitly.
# Do NOT install upstream `react-native-webrtc` (the unforked package) — it will collide.

app.json (Expo):

json
{
  "expo": {
    "plugins": [
      [
        "@fishjam-cloud/react-native-client",
        {
          "android": {
            "enableForegroundService": true,
            "enableScreensharing": true
          },
          "ios": {
            "enableScreensharing": true,
            "broadcastExtensionTargetName": "MyAppScreenSharing",
            "broadcastExtensionDisplayName": "MyApp Screen Sharing",
            "appGroupContainerId": "group.com.myapp.screensharing",
            "mainTargetName": "MyApp"
          }
        }
      ]
    ]
  }
}

Then npx expo prebuild to generate native code.

tsx
import { FishjamProvider } from '@fishjam-cloud/react-native-client';

export default function App() {
  return (
    <FishjamProvider fishjamId={process.env.EXPO_PUBLIC_FISHJAM_ID!}>
      <Room />
    </FishjamProvider>
  );
}

Hook delta vs web (../react-client/)

Re-exported unchanged

These hooks behave identically to the web SDK — see ../react-client/ references.

useConnection, useDataChannel, useSandbox, useUpdatePeerMetadata, useVAD, Variant, InitializeDevicesSettings.

useSandbox RoomType divergence. The web SDK accepts 'audio_only' (underscore); the React Native SDK accepts 'audio-only' (hyphen). Passing the wrong form on either platform makes the Sandbox API reject the request. (Web wire format is audio_only; the RN hook silently sends 'audio-only' and the server validation 400s.)

Overridden (mobile-specific implementations of same API)

Same call signatures as web; internals adapted to React Native. Read ../react-client/ references for the API, then this skill's mobile-hook-overrides.md for behavioral deltas.

useCamera, useMicrophone, useScreenShare, useCustomSource, useInitializeDevices, useLivestreamStreamer, useLivestreamViewer, usePeers.

Mobile-only (no web equivalent)

Hook / APIPurposeReference
useCameraPermissions, useMicrophonePermissionsQuery / request iOS-Android device permissionspermissions.md
useForegroundServiceKeep audio/video/screen-share alive when the app is backgrounded on Androidforeground-service.md
useCallKit, useCallKitEvent, useCallKitServiceiOS CallKit integration (treats Fishjam sessions as native phone calls)callkit.md
useAudioOutput + AudioDeviceTypeSwitch audio routing (speaker / earpiece / Bluetooth)audio-output.md
RTCView, RTCPIPViewNative components for rendering video tracks (in place of <video>)rtcview.md
ScreenCapturePickerView + startPIP / stopPIPNative components / functions for iOS screen picker and Picture-in-Picturescreen-sharing.md, picture-in-picture.md

FishjamProvider differences

The mobile provider is a thin wrapper around the React one but drops two props:

  • persistLastDevice — not supported on mobile (no localStorage; OS manages device selection).
  • fishjamClient — internal-only on mobile (the SDK constructs its own with clientType: 'mobile').

All other props (fishjamId, reconnect, constraints, bandwidthLimits, videoConfig, audioConfig, debug) work the same as web.

Key rules

  • Install @fishjam-cloud/react-native-webrtc (the fork) — but NOT the upstream react-native-webrtc. The fork is a peerDependency of @fishjam-cloud/react-native-client, so you must add it explicitly. Installing the upstream (unforked) react-native-webrtc will collide with the fork and break the native build.
  • The Expo plugin is required even in bare workflow. For Expo CNG (managed): register in app.json/app.config.ts. For bare: still register and run npx expo prebuild, or do the manual native steps (native-setup.md).
  • Request permissions before useInitializeDevices. iOS in particular will silently fail device init if NSCameraUsageDescription / NSMicrophoneUsageDescription isn't declared and granted.
  • Foreground service is mandatory for backgrounded streaming on Android. When the user puts the app in background, Android suspends the WebRTC peer connection unless a foreground service is running. useForegroundService solves this.
  • iOS screen sharing requires a Broadcast Extension. A separate iOS target generated by the Expo plugin. Configure broadcastExtensionTargetName + appGroupContainerId and the plugin scaffolds it during prebuild.
  • iOS PIP needs the plugin flag. ios.supportsPictureInPicture: true and enableVoIPBackgroundMode: true for CallKit-paired calls.

References

FileWhen to read
native-setup.mdInstall + Expo plugin options (Android + iOS), bare workflow manual steps, prebuild flow.
permissions.mduseCameraPermissions, useMicrophonePermissions, request-before-init pattern.
rtcview.mdRendering video — RTCView props (streamURL, trackId, mediaStream), RTCPIPView, mirror / styling.
screen-sharing.mdAndroid MediaProjection vs iOS Broadcast Extension; ScreenCapturePickerView; app-group pitfalls.
foreground-service.mdForegroundServiceConfig, Android permissions, iOS background modes.
picture-in-picture.mdRTCPIPView, startPIP, stopPIP, plugin flags.
callkit.mduseCallKit, useCallKitEvent, useCallKitService, CallKitConfig, CallKitAction.
audio-output.mduseAudioOutput, AudioDeviceType, switching speaker / earpiece / Bluetooth.
mobile-hook-overrides.mdPer-hook behavioral deltas vs the web SDK.
example-projects.mdRunnable apps in the fishjam-cloud/examples repo under mobile-react-native/.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Fishjam React Native Client」では何ができますか?

Fishjam用のReact Native / Expo SDKです。iOSとAndroidでの動画/音声ストリーミングに対応します。Fishjam APIを呼び出すReact NativeまたはExpoアプリの作成、Fishjam Expo pluginの設定、権限の設定、バックグラウンドでのストリーミング、CallKitとの連携、RTCViewの表示を行う場合に使用してください。次の内容が出てきた場合に使用してください: '@fishjam-cloud/react-native-client'、'fishjam expo plugin'、'FishjamProvider mobile'、'useCameraPermissions'、'useMicrophonePermissions'、'useForegroundService'、'useCallKit'、'useCallKitEvent'、'useCallKitService'、'RTCView'、'RTCPIPView'、'ScreenCapturePickerView'、'startPIP'、'stopPIP'、'AudioDeviceType'、'useAudioOutput'、'@fishjam-cloud/react-native-webrtc'、'fishjam react native'、'expo fis...

TypingMindでFishjam React Native Clientを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Fishjam React Native Clientはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにFishjam React Native Clientをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/software-mansion-labs/skills/tree/main/skills/fishjam/references/react-native-clientを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Fishjam React Native Clientを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Fishjam React Native Clientで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもFishjam React Native Clientを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Fishjam React Native Client」は無料ですか?

はい。software-mansion-labsがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇