Skip to content

Commit cc58008

Browse files
committed
Updated Documentation
1 parent 5de6470 commit cc58008

File tree

6 files changed

+41
-0
lines changed

6 files changed

+41
-0
lines changed

NTgCalls/Available Structs/ntg_audio_description_struct.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717

1818
<category-title><shi language="c">uint8_t</shi> <ref>channelCount</ref></category-title>
1919
<config id="AUDIO_CHAN_DESC"/>
20+
21+
<category-title><shi language="c">bool</shi> <ref>keepOpen</ref></category-title>
22+
<config id="KEEP_OPEN_DESC"/>
2023
</subtext>
2124
</subtext>
2225
</page>

NTgCalls/Available Structs/ntg_video_description_struct.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020

2121
<category-title><shi language="c">uint8_t</shi> <ref>fps</ref></category-title>
2222
<config id="VIDEO_FPS_DESC"/>
23+
24+
<category-title><shi language="c">bool</shi> <ref>keepOpen</ref></category-title>
25+
<config id="KEEP_OPEN_DESC"/>
2326
</subtext>
2427
</subtext>
2528
</page>

NTgCalls/Available Types/AudioDescription.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
<config id="AUDIO_CHAN_DESC"/>
1919

2020
<config id="ARG_INPUT_MEDIA"/>
21+
22+
<category-title><ref>keep_open</ref>: <shi>bool</shi></category-title>
23+
<config id="KEEP_OPEN_DESC"/>
2124
</subtext>
2225
</subtext>
2326
</page>

NTgCalls/Available Types/VideoDescription.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
<config id="VIDEO_FPS_DESC"/>
1818

1919
<config id="ARG_INPUT_MEDIA"/>
20+
21+
<category-title><ref>keep_open</ref>: <shi>bool</shi></category-title>
22+
<config id="KEEP_OPEN_DESC"/>
2023
</subtext>
2124
</subtext>
2225
</page>

PyTgCalls/Changelogs.xml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
11
<page>
22
<h1>Changelogs</h1>
3+
<category>
4+
<br/>
5+
<banner
6+
imageurl="/src/assets/updates/PyTgFeb26.png"
7+
minititle="MINOR UPDATE"
8+
bigtitle="PyTgCalls v2.2.10"
9+
description="Enhanced Android Stability, Performance, and More!"
10+
mainbg="#070d16"
11+
version="2.2.10"
12+
imagewidth="1920"
13+
imageheight="1080"
14+
/>
15+
<subtext>
16+
<h3 noref="true">What's new?</h3>
17+
<list>
18+
<item><text><b>Stream Change Control:</b> Added <code>keep_open</code> parameter to <docs-ref link="/NTgCalls/Available Types/AudioDescription">AudioDescription</docs-ref> and <docs-ref link="/NTgCalls/Available Types/VideoDescription">VideoDescription</docs-ref>, allowing you to force stream changes or let the StreamManager automatically detect them.</text></item>
19+
<item><text><b>JSON Performance Boost:</b> Replaced nlohmann JSON with Boost.JSON for improved parsing and serialization performance.</text></item>
20+
<item><text><b>Android Builds Now Stable:</b> Addressed the experimental-relative-c++-abi-vtables issue on x86_64, making Android builds fully stable and production-ready.</text></item>
21+
<item><text><b>Android Audio Improvements:</b> Now using Oboe for audio handling on Android, providing lower latency and better performance.</text></item>
22+
<item><text><b>Linux Performance Upgrades:</b> Updated to the latest versions of libX11, FFmpeg, mesa, glib, boost and libwebrtc for improved stability and performance.</text></item>
23+
<config id="BUG_FIX_CHANGELOGS"/>
24+
</list>
25+
</subtext>
26+
<separator/>
27+
</category>
328
<category>
429
<br/>
530
<banner

config.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,10 @@
239239
<subtext><text>Frames per second (FPS) for video playback.</text></subtext>
240240
</option>
241241

242+
<option id="KEEP_OPEN_DESC">
243+
<subtext><text>Whether to force the stream change or automatically detect it.</text></subtext>
244+
</option>
245+
242246
<option id="FILE_EXCEPTION_DESC">
243247
<subtext><text>The specified file does not exist.</text></subtext>
244248
</option>

0 commit comments

Comments
 (0)