Skip to content

Commit

Permalink
chore: release 2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
davidliu committed Apr 15, 2024
1 parent 03927e3 commit 3fa84eb
Show file tree
Hide file tree
Showing 27 changed files with 53 additions and 48 deletions.
16 changes: 8 additions & 8 deletions docs/classes/AudioSession.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ <h4>Hierarchy</h4>
<ul class="tsd-hierarchy">
<li><span class="target">AudioSession</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/livekit/client-sdk-react-native/blob/b5aca8e/src/audio/AudioSession.ts#L248">audio/AudioSession.ts:248</a></li></ul></aside>
<li>Defined in <a href="https://github.com/livekit/client-sdk-react-native/blob/03927e3/src/audio/AudioSession.ts#L248">audio/AudioSession.ts:248</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
Expand Down Expand Up @@ -64,7 +64,7 @@ <h4 class="tsd-parameters-title">Parameters</h4>
<h5>config: <a href="../types/AudioConfiguration.html" class="tsd-signature-type" data-tsd-kind="Type alias">AudioConfiguration</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/livekit/client-sdk-react-native/blob/b5aca8e/src/audio/AudioSession.ts#L256">audio/AudioSession.ts:256</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/livekit/client-sdk-react-native/blob/03927e3/src/audio/AudioSession.ts#L256">audio/AudioSession.ts:256</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getAudioOutputs" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>get<wbr/>Audio<wbr/>Outputs</span><a href="#getAudioOutputs" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
Expand Down Expand Up @@ -94,7 +94,7 @@ <h3>Returns</h3><p>the available audio output types</p>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/livekit/client-sdk-react-native/blob/b5aca8e/src/audio/AudioSession.ts#L298">audio/AudioSession.ts:298</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/livekit/client-sdk-react-native/blob/03927e3/src/audio/AudioSession.ts#L298">audio/AudioSession.ts:298</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="selectAudioOutput" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>select<wbr/>Audio<wbr/>Output</span><a href="#selectAudioOutput" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
Expand All @@ -112,7 +112,7 @@ <h5>deviceId: <span class="tsd-signature-type">string</span></h5>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/livekit/client-sdk-react-native/blob/b5aca8e/src/audio/AudioSession.ts#L315">audio/AudioSession.ts:315</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/livekit/client-sdk-react-native/blob/03927e3/src/audio/AudioSession.ts#L315">audio/AudioSession.ts:315</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="setAppleAudioConfiguration" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>set<wbr/>Apple<wbr/>Audio<wbr/>Configuration</span><a href="#setAppleAudioConfiguration" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
Expand All @@ -125,7 +125,7 @@ <h4 class="tsd-parameters-title">Parameters</h4>
<h5>config: <a href="../types/AppleAudioConfiguration.html" class="tsd-signature-type" data-tsd-kind="Type alias">AppleAudioConfiguration</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/livekit/client-sdk-react-native/blob/b5aca8e/src/audio/AudioSession.ts#L330">audio/AudioSession.ts:330</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/livekit/client-sdk-react-native/blob/03927e3/src/audio/AudioSession.ts#L330">audio/AudioSession.ts:330</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="showAudioRoutePicker" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>show<wbr/>Audio<wbr/>Route<wbr/>Picker</span><a href="#showAudioRoutePicker" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
Expand All @@ -136,7 +136,7 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <s
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/livekit/client-sdk-react-native/blob/b5aca8e/src/audio/AudioSession.ts#L324">audio/AudioSession.ts:324</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/livekit/client-sdk-react-native/blob/03927e3/src/audio/AudioSession.ts#L324">audio/AudioSession.ts:324</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="startAudioSession" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>start<wbr/>Audio<wbr/>Session</span><a href="#startAudioSession" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
Expand All @@ -146,7 +146,7 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <s
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/livekit/client-sdk-react-native/blob/b5aca8e/src/audio/AudioSession.ts#L263">audio/AudioSession.ts:263</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/livekit/client-sdk-react-native/blob/03927e3/src/audio/AudioSession.ts#L263">audio/AudioSession.ts:263</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="stopAudioSession" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>stop<wbr/>Audio<wbr/>Session</span><a href="#stopAudioSession" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
Expand All @@ -156,7 +156,7 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <s
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/livekit/client-sdk-react-native/blob/b5aca8e/src/audio/AudioSession.ts#L270">audio/AudioSession.ts:270</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/livekit/client-sdk-react-native/blob/03927e3/src/audio/AudioSession.ts#L270">audio/AudioSession.ts:270</a></li></ul></aside></li></ul></section></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
Expand Down
2 changes: 1 addition & 1 deletion docs/functions/VideoView.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h4 class="tsd-parameters-title">Parameters</h4>
<h5>__namedParameters: <a href="../types/Props.html" class="tsd-signature-type" data-tsd-kind="Type alias">Props</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Element</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/livekit/client-sdk-react-native/blob/b5aca8e/src/components/VideoView.tsx#L24">components/VideoView.tsx:24</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/livekit/client-sdk-react-native/blob/03927e3/src/components/VideoView.tsx#L24">components/VideoView.tsx:24</a></li></ul></aside></li></ul></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ <h5>mode: <a href="../types/AudioTrackState.html" class="tsd-signature-type" dat
<h5>preferSpeakerOutput: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../types/AppleAudioConfiguration.html" class="tsd-signature-type" data-tsd-kind="Type alias">AppleAudioConfiguration</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/livekit/client-sdk-react-native/blob/b5aca8e/src/audio/AudioSession.ts#L223">audio/AudioSession.ts:223</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/livekit/client-sdk-react-native/blob/03927e3/src/audio/AudioSession.ts#L223">audio/AudioSession.ts:223</a></li></ul></aside></li></ul></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
Expand Down
2 changes: 1 addition & 1 deletion docs/functions/registerGlobals.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h1>Function registerGlobals</h1></div>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/livekit/client-sdk-react-native/blob/b5aca8e/src/index.tsx#L24">index.tsx:24</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/livekit/client-sdk-react-native/blob/03927e3/src/index.tsx#L24">index.tsx:24</a></li></ul></aside></li></ul></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
Expand Down
2 changes: 1 addition & 1 deletion docs/functions/setLogLevel.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ <h5>level: <span class="tsd-signature-type">&quot;trace&quot;</span><span class=
<h5>options: <a href="../types/SetLogLevelOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">SetLogLevelOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/livekit/client-sdk-react-native/blob/b5aca8e/src/logger.ts#L17">logger.ts:17</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/livekit/client-sdk-react-native/blob/03927e3/src/logger.ts#L17">logger.ts:17</a></li></ul></aside></li></ul></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
Expand Down
2 changes: 1 addition & 1 deletion docs/functions/sortParticipants.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ <h5>participants: <span class="tsd-signature-type">default</span><span class="ts
<h5><code class="tsd-tag ts-flagOptional">Optional</code> localParticipant: <span class="tsd-signature-type">default</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/livekit/client-sdk-react-native/blob/b5aca8e/src/useRoom.ts#L111">useRoom.ts:111</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/livekit/client-sdk-react-native/blob/03927e3/src/useRoom.ts#L111">useRoom.ts:111</a></li></ul></aside></li></ul></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
Expand Down
2 changes: 1 addition & 1 deletion docs/functions/useIOSAudioManagement.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ <h5>preferSpeakerOutput: <span class="tsd-signature-type">boolean</span></h5></l
<h4 class="tsd-returns-title">Returns <a href="../types/AppleAudioConfiguration.html" class="tsd-signature-type" data-tsd-kind="Type alias">AppleAudioConfiguration</a></h4></li></ul></li></ul></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/livekit/client-sdk-react-native/blob/b5aca8e/src/audio/AudioManager.ts#L19">audio/AudioManager.ts:19</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/livekit/client-sdk-react-native/blob/03927e3/src/audio/AudioManager.ts#L19">audio/AudioManager.ts:19</a></li></ul></aside></li></ul></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
Expand Down
2 changes: 1 addition & 1 deletion docs/functions/useParticipant.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h4 class="tsd-parameters-title">Parameters</h4>
<h5>participant: <span class="tsd-signature-type">default</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../interfaces/ParticipantState.html" class="tsd-signature-type" data-tsd-kind="Interface">ParticipantState</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/livekit/client-sdk-react-native/blob/b5aca8e/src/useParticipant.ts#L23">useParticipant.ts:23</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/livekit/client-sdk-react-native/blob/03927e3/src/useParticipant.ts#L23">useParticipant.ts:23</a></li></ul></aside></li></ul></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
Expand Down
2 changes: 1 addition & 1 deletion docs/functions/useRoom.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ <h5>room: <span class="tsd-signature-type">Room</span></h5></li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <a href="../interfaces/RoomOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">RoomOptions</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../interfaces/RoomState.html" class="tsd-signature-type" data-tsd-kind="Interface">RoomState</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/livekit/client-sdk-react-native/blob/b5aca8e/src/useRoom.ts#L26">useRoom.ts:26</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/livekit/client-sdk-react-native/blob/03927e3/src/useRoom.ts#L26">useRoom.ts:26</a></li></ul></aside></li></ul></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
Expand Down
5 changes: 5 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ <h1>livekit-react-native</h1>
<p>Use this SDK to add real-time video, audio and data features to your React Native app. By connecting to a self- or cloud-hosted <a href="https://livekit.io/">LiveKit</a> server, you can quickly build applications like interactive live streaming or video calls with just a few lines of code.</p>
<!--END_DESCRIPTION-->

<blockquote>
<p>[!NOTE]
This is v2 of the React-Native SDK. When migrating from v1.x to v2.x you might encounter a small set of breaking changes.
Read the <a href="https://docs.livekit.io/guides/migrate-from-v1/">migration guide</a> for a detailed overview of what has changed.</p>
</blockquote>

<a href="#installation" id="installation" style="color: inherit; text-decoration: none;">
<h2>Installation</h2>
Expand Down
Loading

0 comments on commit 3fa84eb

Please sign in to comment.