Skip to content

Commit d09d960

Browse files
check
1 parent c7d3660 commit d09d960

File tree

1,217 files changed

+29422
-19225
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,217 files changed

+29422
-19225
lines changed

.github/workflows/main.yml

Lines changed: 48 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,65 @@
1-
name: Flutter Web
1+
name: flutter-web-and-docs
2+
23
on:
34
push:
45
branches:
56
- demo_v2
6-
workflow_dispatch: # This will allow the workflow to be triggered manually
7+
workflow_dispatch:
78

89
jobs:
910
build-and-deploy:
10-
name: Build and Deploy
11+
name: Build web demo and docs
1112
runs-on: ubuntu-latest
1213

1314
steps:
14-
# Checkout the source code
15-
- uses: actions/checkout@v3
15+
- name: Checkout repository
16+
uses: actions/checkout@v3
1617

17-
# Set up Flutter
18-
- uses: subosito/flutter-action@v2
18+
- name: Set up Flutter
19+
uses: subosito/flutter-action@v2
1920
with:
2021
channel: stable
21-
22-
# Enable Flutter web support
23-
- run: cd example && flutter pub get && flutter build web --release --base-href "/flutter_janus_client/"
24-
25-
# Deploy to GitHub Pages
22+
23+
- name: Activate dartdoc
24+
run: flutter pub global activate dartdoc
25+
26+
- name: Fetch dependencies
27+
run: |
28+
flutter pub get
29+
cd example
30+
flutter pub get
31+
32+
- name: Build Flutter web demo
33+
run: |
34+
cd example
35+
flutter build web --release --base-href "/flutter_janus_client/demo/"
36+
37+
- name: Generate API documentation
38+
run: |
39+
export PATH="$HOME/.pub-cache/bin:$PATH"
40+
dartdoc
41+
42+
- name: Prepare publish directory
43+
run: |
44+
mkdir -p publish/demo publish/docs
45+
cp -r example/build/web/* publish/demo/
46+
cp -r doc/api/* publish/docs/
47+
48+
- name: Upload demo artifact
49+
uses: actions/upload-artifact@v3
50+
with:
51+
name: flutter-web-demo
52+
path: publish/demo
53+
54+
- name: Upload docs artifact
55+
uses: actions/upload-artifact@v3
56+
with:
57+
name: api-docs
58+
path: publish/docs
59+
2660
- name: Deploy to GitHub Pages
2761
uses: peaceiris/actions-gh-pages@v3
2862
with:
2963
github_token: ${{ secrets.GH_TOKEN }}
30-
publish_dir: ./example/build/web
64+
publish_dir: ./publish
65+
destination_dir: .

doc/api/__404error.html

Lines changed: 41 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -30,33 +30,41 @@
3030
<form class="search navbar-right" role="search">
3131
<input type="text" id="search-box" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
3232
</form>
33-
<div class="toggle" id="theme-button" title="Toggle brightness">
34-
<label for="theme">
35-
<input type="checkbox" id="theme" value="light-theme">
36-
<span id="dark-theme-button" class="material-symbols-outlined">
37-
dark_mode
38-
</span>
39-
<span id="light-theme-button" class="material-symbols-outlined">
40-
light_mode
41-
</span>
42-
</label>
43-
</div>
33+
<button class="toggle" id="theme-button" title="Toggle between light and dark mode" aria-label="Light and dark mode toggle">
34+
<span id="dark-theme-button" class="material-symbols-outlined" aria-hidden="true">
35+
dark_mode
36+
</span>
37+
<span id="light-theme-button" class="material-symbols-outlined" aria-hidden="true">
38+
light_mode
39+
</span>
40+
</button>
4441
</header>
4542
<main>
46-
<div id="dartdoc-main-content" class="main-content">
47-
<h1>404: Something's gone wrong :-(</h1>
48-
<section class="desc">
49-
<p>You've tried to visit a page that doesn't exist. Luckily this site
50-
has other <a href="index.html">pages</a>.</p>
51-
<p>If you were looking for something specific, try searching:
43+
<div id="dartdoc-main-content" class="main-content">
44+
<h1>404: Something's gone wrong :-(</h1>
45+
<section class="desc">
46+
<p>
47+
You've tried to visit a page that doesn't exist. Luckily this site has
48+
other <a href="index.html">pages</a>.
49+
</p>
50+
<div>
51+
If you were looking for something specific, try searching:
5252
<form class="search-body" role="search">
53-
<input type="text" id="search-body" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
53+
<input
54+
type="text"
55+
id="search-body"
56+
autocomplete="off"
57+
disabled
58+
class="form-control typeahead"
59+
placeholder="Loading search..."
60+
/>
5461
</form>
55-
</p>
56-
</section>
57-
</div> <!-- /.main-content -->
58-
<div id="dartdoc-sidebar-left" class="sidebar sidebar-offcanvas-left">
59-
<!-- The search input and breadcrumbs below are only responsively visible at low resolutions. -->
62+
</div>
63+
</section>
64+
</div>
65+
<!-- /.main-content -->
66+
<div id="dartdoc-sidebar-left" class="sidebar sidebar-offcanvas-left">
67+
<!-- The search input and breadcrumbs below are only responsively visible at low resolutions. -->
6068
<header id="header-search-sidebar" class="hidden-l">
6169
<form class="search-sidebar" role="search">
6270
<input type="text" id="search-sidebar" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
@@ -66,21 +74,23 @@ <h1>404: Something's gone wrong :-(</h1>
6674
<li><a href="https://github.com/shivanshtalwar0/flutter_janus_client">janus_client package</a></li>
6775
</ol>
6876

69-
<h5><span class="package-name">janus_client</span> <span class="package-kind">package</span></h5>
70-
<ol>
77+
<h5>
78+
<span class="package-name">janus_client</span>
79+
<span class="package-kind">package</span>
80+
</h5>
81+
<ol>
7182
<li class="section-title">Libraries</li>
72-
<li><a href="interfaces_sip_sip_event">interfaces/sip/sip_event</a></li>
73-
<li><a href="janus_client">janus_client</a></li>
83+
<li><a href="interfaces_sip_sip_event/">interfaces/sip/sip_event</a></li>
84+
<li><a href="janus_client/">janus_client</a></li>
7485
</ol>
7586

76-
</div>
77-
<div id="dartdoc-sidebar-right" class="sidebar sidebar-offcanvas-right">
78-
</div>
87+
</div>
88+
<div id="dartdoc-sidebar-right" class="sidebar sidebar-offcanvas-right"></div>
7989
</main>
8090
<footer>
8191
<span class="no-break">
8292
janus_client
83-
2.3.6
93+
2.4.2
8494
</span>
8595

8696
</footer>

doc/api/index.html

Lines changed: 25 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,14 @@
3030
<form class="search navbar-right" role="search">
3131
<input type="text" id="search-box" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
3232
</form>
33-
<div class="toggle" id="theme-button" title="Toggle brightness">
34-
<label for="theme">
35-
<input type="checkbox" id="theme" value="light-theme">
36-
<span id="dark-theme-button" class="material-symbols-outlined">
37-
dark_mode
38-
</span>
39-
<span id="light-theme-button" class="material-symbols-outlined">
40-
light_mode
41-
</span>
42-
</label>
43-
</div>
33+
<button class="toggle" id="theme-button" title="Toggle between light and dark mode" aria-label="Light and dark mode toggle">
34+
<span id="dark-theme-button" class="material-symbols-outlined" aria-hidden="true">
35+
dark_mode
36+
</span>
37+
<span id="light-theme-button" class="material-symbols-outlined" aria-hidden="true">
38+
light_mode
39+
</span>
40+
</button>
4441
</header>
4542
<main>
4643
<div id="dartdoc-main-content" class="main-content">
@@ -50,7 +47,7 @@ <h1 id="janus_client">janus_client</h1>
5047
<p><a href="https://januscaler.com"><img src="https://img.shields.io/badge/powered_by-JanuScaler-b?style=for-the-badge&amp;logo=Januscaler&amp;logoColor=%238884ED&amp;label=Powered%20By&amp;labelColor=white&amp;color=%238884ED" alt="januscaler"></a></p>
5148
<p><a href="https://pub.dartlang.org/packages/janus_client"><img src="https://img.shields.io/pub/v/janus_client.svg" alt="pub package"></a><a href="https://gitter.im/flutter_janus_client/Lobby?utm_source=badge&amp;utm_medium=badge&amp;utm_campaign=pr-badge"><img src="https://badges.gitter.im/flutter_janus_client/Lobby.svg" alt="Gitter"></a></p>
5249
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
53-
<p><a href="#contributors-"><img src="https://img.shields.io/badge/all_contributors-13-orange.svg?style=flat-square" alt="All Contributors"></a></p>
50+
<p><a href="#contributors-"><img src="https://img.shields.io/badge/all_contributors-17-orange.svg?style=flat-square" alt="All Contributors"></a></p>
5451
<!-- ALL-CONTRIBUTORS-BADGE:END -->
5552
<p>It is a feature rich flutter package, which offers all webrtc operations supported by <a href="https://janus.conf.meetecho.com/">Janus: the general purpose WebRTC server</a>,
5653
it easily integrates into your flutter application and allows you to build webrtc features and functionality with clean and maintainable code.</p>
@@ -68,10 +65,10 @@ <h2 id="what-it-will-not-do">What it will not do?</h2>
6865
</code></pre>
6966
</div>
7067
<h2 id="demo-of-janusclienthttpsjanuscalergithubioflutter_janus_client"><a href="https://januscaler.github.io/flutter_janus_client/">Demo of JanusClient</a></h2>
71-
<h2 id="apireferencehttpsflutterjanusgithubioflutter_janus_clientdocapi"><a href="https://januscaler.github.io/flutter_janus_client/doc/api/">APIReference</a></h2>
72-
<h2 id="wikihttpsgithubcomflutterjanusflutter_janus_clientwiki"><a href="https://github.com/januscaler/flutter_janus_client/wiki">Wiki</a></h2>
73-
<h2 id="take-away-apple-specific-pain-for-building-flutter-apphttpsgithubcomflutterjanusflutter_janus_clientwikitake-away-apple-ios-and-macos-related-pain-from-me-f09f92af-building-for-apple"><a href="https://github.com/januscaler/flutter_janus_client/wiki/Take-away-Apple-IOS-and-macOS-related-pain-from-me-%F0%9F%92%AF-(building-for-apple)">Take away apple specific pain for building flutter app</a></h2>
74-
<h2 id="screen-share-examplehttpsgithubcomflutterjanusscreenshare_example"><a href="https://github.com/januscaler/screenshare_example">screen share example</a></h2>
68+
<h2 id="apireferencehttpsjanuscalergithubioflutter_janus_clientdocapi"><a href="https://januscaler.github.io/flutter_janus_client/doc/api/">APIReference</a></h2>
69+
<h2 id="wikihttpsgithubcomjanuscalerflutter_janus_clientwiki"><a href="https://github.com/januscaler/flutter_janus_client/wiki">Wiki</a></h2>
70+
<h2 id="take-away-apple-specific-pain-for-building-flutter-apphttpsgithubcomjanuscalerflutter_janus_clientwikitake-away-apple-ios-and-macos-related-pain-from-me-f09f92af-building-for-apple"><a href="https://github.com/januscaler/flutter_janus_client/wiki/Take-away-Apple-IOS-and-macOS-related-pain-from-me-%F0%9F%92%AF-(building-for-apple)">Take away apple specific pain for building flutter app</a></h2>
71+
<h2 id="screen-share-examplehttpsgithubcomjanuscalerscreenshare_example"><a href="https://github.com/januscaler/screenshare_example">screen share example</a></h2>
7572
<h2 id="news--updates">News &amp; Updates</h2>
7673
<ul>
7774
<li>Introduced support for simulcast</li>
@@ -253,6 +250,12 @@ <h2 id="contributors-">Contributors ✨</h2>
253250
<td align="center" valign="top" width="14.28%"><a href="https://github.com/musagil"><img src="https://avatars.githubusercontent.com/u/7420090?v=4?s=100" width="100px;" alt="Musagil Musabayli"><br><sub><b>Musagil Musabayli</b></sub></a><br><a href="https://github.com/januscaler/flutter_janus_client/commits?author=musagil" title="Code">💻</a></td>
254251
<td align="center" valign="top" width="14.28%"><a href="https://github.com/mazen930"><img src="https://avatars.githubusercontent.com/u/33043493?v=4?s=100" width="100px;" alt="Mazen Amr"><br><sub><b>Mazen Amr</b></sub></a><br><a href="https://github.com/januscaler/flutter_janus_client/commits?author=mazen930" title="Code">💻</a></td>
255252
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Clon1998"><img src="https://avatars.githubusercontent.com/u/10357775?v=4?s=100" width="100px;" alt="Patrick Schmidt"><br><sub><b>Patrick Schmidt</b></sub></a><br><a href="https://github.com/januscaler/flutter_janus_client/commits?author=Clon1998" title="Code">💻</a></td>
253+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/ivansapr"><img src="https://avatars.githubusercontent.com/u/4011122?v=4?s=100" width="100px;" alt="Ivan Saprykin"><br><sub><b>Ivan Saprykin</b></sub></a><br><a href="https://github.com/januscaler/flutter_janus_client/commits?author=ivansapr" title="Code">💻</a></td>
254+
</tr>
255+
<tr>
256+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Creiger"><img src="https://avatars.githubusercontent.com/u/14278509?v=4?s=100" width="100px;" alt="Lukas Hronec"><br><sub><b>Lukas Hronec</b></sub></a><br><a href="https://github.com/januscaler/flutter_janus_client/commits?author=Creiger" title="Code">💻</a></td>
257+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/dev-satoshi"><img src="https://avatars.githubusercontent.com/u/102169197?v=4?s=100" width="100px;" alt="Satoshi"><br><sub><b>Satoshi</b></sub></a><br><a href="https://github.com/januscaler/flutter_janus_client/commits?author=dev-satoshi" title="Code">💻</a></td>
258+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/emekalites"><img src="https://avatars.githubusercontent.com/u/6467687?v=4?s=100" width="100px;" alt="Chukwuemeka Ihedoro"><br><sub><b>Chukwuemeka Ihedoro</b></sub></a><br><a href="https://github.com/januscaler/flutter_janus_client/commits?author=emekalites" title="Code">💻</a></td>
256259
</tr>
257260
</tbody>
258261
</table>
@@ -263,7 +266,7 @@ <h2 id="contributors-">Contributors ✨</h2>
263266
<h2 id="wait-theres-more-the-javascript-client">Wait there's more... The Javascript Client!</h2>
264267
<p>If you loved the api style and architecture of flutter_janus_client and you wishing to have something similar for your next javascript project involving webrtc features.
265268
then worry not because we have got you covered. we have written wrapper on top of our good old <code>janus.js</code>, you might ask why? well the answer to that question is it does not support
266-
type bindings hence no rich ide support, so we proudly presents <a href="https://github.com/januscaler/JanusJs">typed_janus_js(feature rich promisified and reactive wrapper on top of janus.js)</a>
269+
type bindings hence no rich ide support, so we proudly presents <a href="https://github.com/flutterjanus/JanusJs">typed_janus_js(feature rich promisified and reactive wrapper on top of janus.js)</a>
267270
or you can straight away use it by installing from npm <code>npm i typed_janus_js</code>.</p>
268271
<h2 id="donations">Donations</h2>
269272
<p><a href="https://ko-fi.com/U7U11OZL8"><img src="https://www.ko-fi.com/img/githubbutton_sm.svg" alt="ko-fi"></a></p>
@@ -275,14 +278,14 @@ <h2 id="donations">Donations</h2>
275278
<h2>Libraries</h2>
276279
<dl>
277280
<dt id="sip_event">
278-
<span class="name"><a href="interfaces_sip_sip_event">interfaces/sip/sip_event</a></span>
281+
<span class="name"><a href="interfaces_sip_sip_event/">interfaces/sip/sip_event</a></span>
279282

280283
</dt>
281284
<dd>
282285
</dd>
283286

284287
<dt id="janus_client">
285-
<span class="name"><a href="janus_client">janus_client</a></span>
288+
<span class="name"><a href="janus_client/">janus_client</a></span>
286289

287290
</dt>
288291
<dd>This is a preliminary API providing most WebRTC Operations out of the box using <a href="https://janus.conf.meetecho.com/">Janus Server</a>
@@ -305,8 +308,8 @@ <h2>Libraries</h2>
305308
<h5 class="hidden-xs"><span class="package-name">janus_client</span> <span class="package-kind">package</span></h5>
306309
<ol>
307310
<li class="section-title">Libraries</li>
308-
<li><a href="interfaces_sip_sip_event">interfaces/sip/sip_event</a></li>
309-
<li><a href="janus_client">janus_client</a></li>
311+
<li><a href="interfaces_sip_sip_event/">interfaces/sip/sip_event</a></li>
312+
<li><a href="janus_client/">janus_client</a></li>
310313
</ol>
311314

312315
</div>
@@ -316,7 +319,7 @@ <h5 class="hidden-xs"><span class="package-name">janus_client</span> <span class
316319
<footer>
317320
<span class="no-break">
318321
janus_client
319-
2.3.6
322+
2.4.2
320323
</span>
321324

322325
</footer>

doc/api/index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

doc/api/interfaces_sip_sip_event/index.html

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,14 @@
3131
<form class="search navbar-right" role="search">
3232
<input type="text" id="search-box" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
3333
</form>
34-
<div class="toggle" id="theme-button" title="Toggle brightness">
35-
<label for="theme">
36-
<input type="checkbox" id="theme" value="light-theme">
37-
<span id="dark-theme-button" class="material-symbols-outlined">
38-
dark_mode
39-
</span>
40-
<span id="light-theme-button" class="material-symbols-outlined">
41-
light_mode
42-
</span>
43-
</label>
44-
</div>
34+
<button class="toggle" id="theme-button" title="Toggle between light and dark mode" aria-label="Light and dark mode toggle">
35+
<span id="dark-theme-button" class="material-symbols-outlined" aria-hidden="true">
36+
dark_mode
37+
</span>
38+
<span id="light-theme-button" class="material-symbols-outlined" aria-hidden="true">
39+
light_mode
40+
</span>
41+
</button>
4542
</header>
4643
<main>
4744
<div
@@ -89,8 +86,8 @@ <h1>
8986
<h5><span class="package-name">janus_client</span> <span class="package-kind">package</span></h5>
9087
<ol>
9188
<li class="section-title">Libraries</li>
92-
<li><a href="../interfaces_sip_sip_event">interfaces/sip/sip_event</a></li>
93-
<li><a href="../janus_client">janus_client</a></li>
89+
<li><a href="../interfaces_sip_sip_event/">interfaces/sip/sip_event</a></li>
90+
<li><a href="../janus_client/">janus_client</a></li>
9491
</ol>
9592

9693
</div>
@@ -101,7 +98,7 @@ <h5>sip_event library</h5>
10198
<footer>
10299
<span class="no-break">
103100
janus_client
104-
2.3.6
101+
2.4.2
105102
</span>
106103

107104
</footer>
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4-
<link rel="canonical" href="../interfaces_sip_sip_event" />
5-
<meta http-equiv="refresh" content="0; url=../interfaces_sip_sip_event" />
4+
<link rel="canonical" href="../interfaces_sip_sip_event&#47;" />
5+
<meta http-equiv="refresh" content="0; url=../interfaces_sip_sip_event&#47;" />
66
</head>
77
<body>
8-
<p><a href="../interfaces_sip_sip_event">New URL</a></p>
8+
<p><a href="../interfaces_sip_sip_event&#47;">New URL</a></p>
99
</body>
1010
</html>

doc/api/janus_client/AttachedStreams-class-sidebar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<ol>
22

33
<li class="section-title"><a href="janus_client/AttachedStreams-class.html#constructors">Constructors</a></li>
4-
<li><a href="janus_client/AttachedStreams/AttachedStreams.html">AttachedStreams</a></li>
4+
<li><a href="janus_client/AttachedStreams/AttachedStreams.html">new</a></li>
55
<li><a href="janus_client/AttachedStreams/AttachedStreams.fromJson.html">fromJson</a></li>
66

77

0 commit comments

Comments
 (0)