Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit 72d38f9

Browse files
Update for 2.2.0-beta.2 release
1 parent dd1ba72 commit 72d38f9

File tree

7 files changed

+30
-4
lines changed

7 files changed

+30
-4
lines changed
10.7 KB
Binary file not shown.

docs/.doctrees/environment.pickle

4.16 KB
Binary file not shown.

docs/_sources/api/sdk/session.rst.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ Other Structures
2929
----------------
3030
Other structures used by the :ref:`api_session`, which are not defined in the :ref:`sess_serv` interface.
3131

32+
.. doxygenstruct:: dolbyio::comms::token_expired_event
33+
:project: C++ SDK
34+
3235
.. doxygenenum:: dolbyio::comms::notification_subscription_type
3336
:project: C++ SDK
3437

docs/api/sdk/session.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,20 @@
350350
</dl>
351351
</dd></dl>
352352

353+
<dl class="cpp function">
354+
<dt class="sig sig-object cpp" id="_CPPv4N7dolbyio5comms8services7session17add_event_handlerERR13event_handlerI19token_expired_eventE">
355+
<span id="_CPPv3N7dolbyio5comms8services7session17add_event_handlerERR13event_handlerI19token_expired_eventE"></span><span id="_CPPv2N7dolbyio5comms8services7session17add_event_handlerERR13event_handlerI19token_expired_eventE"></span><span id="dolbyio::comms::services::session::add_event_handler__event_handler:token_expired_event:RR"></span><span class="target" id="classdolbyio_1_1comms_1_1services_1_1session_1a69d961d6224401ed4b3a3b7450d3542b"></span><span class="k"><span class="pre">virtual</span></span><span class="w"> </span><a class="reference internal" href="common/async_ops.html#_CPPv4N7dolbyio5comms12async_resultE" title="dolbyio::comms::async_result"><span class="n"><span class="pre">async_result</span></span></a><span class="p"><span class="pre">&lt;</span></span><a class="reference internal" href="common/event_handling.html#_CPPv4N7dolbyio5comms16event_handler_idE" title="dolbyio::comms::event_handler_id"><span class="n"><span class="pre">event_handler_id</span></span></a><span class="p"><span class="pre">&gt;</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">add_event_handler</span></span></span><span class="sig-paren">(</span><a class="reference internal" href="common/event_handling.html#_CPPv4N7dolbyio5comms13event_handlerE" title="dolbyio::comms::event_handler"><span class="n"><span class="pre">event_handler</span></span></a><span class="p"><span class="pre">&lt;</span></span><a class="reference internal" href="#_CPPv4N7dolbyio5comms19token_expired_eventE" title="dolbyio::comms::token_expired_event"><span class="n"><span class="pre">token_expired_event</span></span></a><span class="p"><span class="pre">&gt;</span></span><span class="w"> </span><span class="p"><span class="pre">&amp;</span></span><span class="p"><span class="pre">&amp;</span></span><span class="n sig-param"><span class="pre">callback</span></span><span class="sig-paren">)</span><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="m"><span class="pre">0</span></span><a class="headerlink" href="#_CPPv4N7dolbyio5comms8services7session17add_event_handlerERR13event_handlerI19token_expired_eventE" title="Permalink to this definition"></a><br /></dt>
356+
<dd><p>Adds a listener for the <a class="reference internal" href="#structdolbyio_1_1comms_1_1token__expired__event"><span class="std std-ref">token_expired_event</span></a>. </p>
357+
<dl class="field-list simple">
358+
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
359+
<dd class="field-odd"><p><strong>callback</strong> – The function object that is invoked in the case of using an invalid token.</p>
360+
</dd>
361+
<dt class="field-even">Returns<span class="colon">:</span></dt>
362+
<dd class="field-even"><p>The result object producing the <a class="reference internal" href="common/event_handling.html#group__event__handling_1ga9aeb2542ab883743b4c1d666fcc9397b"><span class="std std-ref">event_handler_id</span></a> asynchronously. </p>
363+
</dd>
364+
</dl>
365+
</dd></dl>
366+
353367
</div>
354368
<dl class="cpp class">
355369
<dt class="sig sig-object cpp" id="_CPPv4N7dolbyio5comms8services7session15state_exceptionE">
@@ -435,6 +449,13 @@
435449
<section id="other-structures">
436450
<h2>Other Structures<a class="headerlink" href="#other-structures" title="Permalink to this heading"></a></h2>
437451
<p>Other structures used by the <a class="reference internal" href="#api-session"><span class="std std-ref">Session Service</span></a>, which are not defined in the <a class="reference internal" href="#sess-serv"><span class="std std-ref">Session Interface</span></a> interface.</p>
452+
<dl class="cpp struct">
453+
<dt class="sig sig-object cpp" id="_CPPv4N7dolbyio5comms19token_expired_eventE">
454+
<span id="_CPPv3N7dolbyio5comms19token_expired_eventE"></span><span id="_CPPv2N7dolbyio5comms19token_expired_eventE"></span><span id="dolbyio::comms::token_expired_event"></span><span class="target" id="structdolbyio_1_1comms_1_1token__expired__event"></span><span class="k"><span class="pre">struct</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">token_expired_event</span></span></span><a class="headerlink" href="#_CPPv4N7dolbyio5comms19token_expired_eventE" title="Permalink to this definition"></a><br /></dt>
455+
<dd><p>The event notifying about the access token expiration. </p>
456+
<p>Upon the reception of this event, the application will know that the access token used by the SDK has expired. Note that the application will receive two token refresh requests before that. If the application does not deliver new, valid token, and the old one expires, the application can expect the conference to be closed, and most API calls will just return the errors. </p>
457+
</dd></dl>
458+
438459
<dl class="cpp enum">
439460
<dt class="sig sig-object cpp" id="_CPPv4N7dolbyio5comms30notification_subscription_typeE">
440461
<span id="_CPPv3N7dolbyio5comms30notification_subscription_typeE"></span><span id="_CPPv2N7dolbyio5comms30notification_subscription_typeE"></span><span class="target" id="namespacedolbyio_1_1comms_1aa5b0192517fb179da4bda615ad057fa3"></span><span class="k"><span class="pre">enum</span></span><span class="w"> </span><span class="sig-prename descclassname"><span class="n"><span class="pre">dolbyio</span></span><span class="p"><span class="pre">::</span></span><span class="n"><span class="pre">comms</span></span><span class="p"><span class="pre">::</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">notification_subscription_type</span></span></span><a class="headerlink" href="#_CPPv4N7dolbyio5comms30notification_subscription_typeE" title="Permalink to this definition"></a><br /></dt>

docs/genindex.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -593,10 +593,10 @@ <h2 id="D">D</h2>
593593
</li>
594594
<li><a href="api/sdk/recorder.html#_CPPv4N7dolbyio5comms6plugin8recorder22audio_recording_config3AACE">dolbyio::comms::plugin::recorder::audio_recording_config::AAC (C++ enumerator)</a>
595595
</li>
596-
</ul></td>
597-
<td style="width: 33%; vertical-align: top;"><ul>
598596
<li><a href="api/sdk/recorder.html#_CPPv4N7dolbyio5comms6plugin8recorder22audio_recording_config4NONEE">dolbyio::comms::plugin::recorder::audio_recording_config::NONE (C++ enumerator)</a>
599597
</li>
598+
</ul></td>
599+
<td style="width: 33%; vertical-align: top;"><ul>
600600
<li><a href="api/sdk/recorder.html#_CPPv4N7dolbyio5comms6plugin8recorder22audio_recording_config3PCME">dolbyio::comms::plugin::recorder::audio_recording_config::PCM (C++ enumerator)</a>
601601
</li>
602602
<li><a href="api/sdk/recorder.html#_CPPv4N7dolbyio5comms6plugin8recorder6createERKNSt6stringERN7dolbyio5comms3sdkE22audio_recording_config22video_recording_config">dolbyio::comms::plugin::recorder::create (C++ function)</a>
@@ -825,7 +825,7 @@ <h2 id="D">D</h2>
825825
</li>
826826
<li><a href="api/sdk/session.html#_CPPv4N7dolbyio5comms8services7sessionE">dolbyio::comms::services::session (C++ class)</a>
827827
</li>
828-
<li><a href="api/sdk/session.html#_CPPv4N7dolbyio5comms8services7session17add_event_handlerERR13event_handlerIN19subscription_events16conference_endedEE">dolbyio::comms::services::session::add_event_handler (C++ function)</a>, <a href="api/sdk/session.html#_CPPv4N7dolbyio5comms8services7session17add_event_handlerERR13event_handlerIN19subscription_events16participant_leftEE">[1]</a>, <a href="api/sdk/session.html#_CPPv4N7dolbyio5comms8services7session17add_event_handlerERR13event_handlerIN19subscription_events17conference_statusEE">[2]</a>, <a href="api/sdk/session.html#_CPPv4N7dolbyio5comms8services7session17add_event_handlerERR13event_handlerIN19subscription_events18conference_createdEE">[3]</a>, <a href="api/sdk/session.html#_CPPv4N7dolbyio5comms8services7session17add_event_handlerERR13event_handlerIN19subscription_events18participant_joinedEE">[4]</a>, <a href="api/sdk/session.html#_CPPv4N7dolbyio5comms8services7session17add_event_handlerERR13event_handlerIN19subscription_events19active_participantsEE">[5]</a>
828+
<li><a href="api/sdk/session.html#_CPPv4N7dolbyio5comms8services7session17add_event_handlerERR13event_handlerI19token_expired_eventE">dolbyio::comms::services::session::add_event_handler (C++ function)</a>, <a href="api/sdk/session.html#_CPPv4N7dolbyio5comms8services7session17add_event_handlerERR13event_handlerIN19subscription_events16conference_endedEE">[1]</a>, <a href="api/sdk/session.html#_CPPv4N7dolbyio5comms8services7session17add_event_handlerERR13event_handlerIN19subscription_events16participant_leftEE">[2]</a>, <a href="api/sdk/session.html#_CPPv4N7dolbyio5comms8services7session17add_event_handlerERR13event_handlerIN19subscription_events17conference_statusEE">[3]</a>, <a href="api/sdk/session.html#_CPPv4N7dolbyio5comms8services7session17add_event_handlerERR13event_handlerIN19subscription_events18conference_createdEE">[4]</a>, <a href="api/sdk/session.html#_CPPv4N7dolbyio5comms8services7session17add_event_handlerERR13event_handlerIN19subscription_events18participant_joinedEE">[5]</a>, <a href="api/sdk/session.html#_CPPv4N7dolbyio5comms8services7session17add_event_handlerERR13event_handlerIN19subscription_events19active_participantsEE">[6]</a>
829829
</li>
830830
<li><a href="api/sdk/session.html#_CPPv4N7dolbyio5comms8services7session5closeEv">dolbyio::comms::services::session::close (C++ function)</a>
831831
</li>
@@ -1000,6 +1000,8 @@ <h2 id="D">D</h2>
10001000
<li><a href="api/sdk/common/async_ops.html#_CPPv4N7dolbyio5comms25thread_safe_solver_traits15lock_guard_typeE">dolbyio::comms::thread_safe_solver_traits::lock_guard_type (C++ type)</a>
10011001
</li>
10021002
<li><a href="api/sdk/common/async_ops.html#_CPPv4N7dolbyio5comms25thread_safe_solver_traits9lock_typeE">dolbyio::comms::thread_safe_solver_traits::lock_type (C++ type)</a>
1003+
</li>
1004+
<li><a href="api/sdk/session.html#_CPPv4N7dolbyio5comms19token_expired_eventE">dolbyio::comms::token_expired_event (C++ struct)</a>
10031005
</li>
10041006
<li><a href="api/sdk/video.html#_CPPv4N7dolbyio5comms11video_frameE">dolbyio::comms::video_frame (C++ class)</a>
10051007
</li>

docs/objects.inv

71 Bytes
Binary file not shown.

docs/searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)