Skip to content

Commit b1a6eb8

Browse files
authored
Migrate (#3)
Migrate from solutions repo
1 parent 39ec6d0 commit b1a6eb8

File tree

257 files changed

+49799
-0
lines changed

Some content is hidden

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

257 files changed

+49799
-0
lines changed

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
components/third_party/* linguist-vendored
2+
components/livekit/protocol/*.c linguist-generated
3+
components/livekit/protocol/*.h linguist-generated

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: true
2+
contact_links:
3+
- name: LiveKit Community Slack
4+
url: https://livekit.io/join-slack
5+
about: Get your questions answered

.github/workflows/docs.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Build Documentation
2+
on:
3+
workflow_dispatch:
4+
push:
5+
branches: [main]
6+
concurrency:
7+
group: "docs"
8+
cancel-in-progress: true
9+
jobs:
10+
build-docs:
11+
name: Build Documentation
12+
runs-on: ubuntu-24.04
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v2
16+
- name: Doxygen
17+
uses: mattnotmitt/[email protected]
18+
with: { working-directory: docs }
19+
- name: Configure Pages
20+
uses: actions/configure-pages@v5
21+
- name: Upload Generated Docs
22+
uses: actions/upload-pages-artifact@v3
23+
with: { path: docs/output }
24+
deploy:
25+
needs: build
26+
permissions:
27+
pages: write
28+
id-token: write
29+
environment:
30+
name: github-pages
31+
url: ${{ steps.deployment.outputs.page_url }}
32+
runs-on: ubuntu-latest
33+
steps:
34+
- name: Deploy to GitHub Pages
35+
id: deployment
36+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
.config
2+
*.o
3+
*.pyc
4+
5+
# gtags
6+
GTAGS
7+
GRTAGS
8+
GPATH
9+
10+
# emacs
11+
.dir-locals.el
12+
13+
# emacs temp file suffixes
14+
*~
15+
.#*
16+
\#*#
17+
# MacOS directory files
18+
.DS_Store
19+
20+
# eclipse setting
21+
.settings
22+
23+
# Example project files
24+
25+
**/sdkconfig
26+
**/sdkconfig.old
27+
**/build
28+
**/managed_components
29+
**/dependencies.lock
30+
**/dist
31+
32+
# gcov coverage reports
33+
*.gcda
34+
*.gcno
35+
coverage.info
36+
coverage_report/
37+
38+
.vscode
39+
40+
# Doxygen
41+
docs/output

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!-- BEGIN_BANNER_IMAGE --><!-- END_BANNER_IMAGE -->
2+
3+
# ESP-32 SDK for LiveKit
4+
5+
Use this SDK to add realtime video, audio and data features to your ESP-32 projects. By connecting to [LiveKit](https://livekit.io/) Cloud or a self-hosted server, you can quickly build applications such as multi-modal AI, live streaming, or video calls with minimal setup.
6+
7+
> [!WARNING]
8+
> This SDK is in early development and may undergo breaking API changes and contain bugs.
9+
10+
<!-- BEGIN_REPO_NAV --><!-- END_REPO_NAV -->

components/livekit/CMakeLists.txt

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
idf_component_register(
2+
SRC_DIRS ./core ./protocol
3+
PRIV_INCLUDE_DIRS ./core ./protocol
4+
INCLUDE_DIRS ./include
5+
REQUIRES
6+
av_render
7+
esp_capture
8+
PRIV_REQUIRES
9+
esp_codec_dev
10+
esp_netif
11+
esp_timer
12+
esp_websocket_client
13+
esp_webrtc
14+
json
15+
mbedtls
16+
media_lib_sal
17+
peer_default
18+
webrtc_utils
19+
nanopb
20+
khash
21+
)
22+
23+
idf_component_get_property(LIVEKIT_SDK_VERSION ${COMPONENT_NAME} COMPONENT_VERSION)
24+
target_compile_definitions(${COMPONENT_LIB} PUBLIC "LIVEKIT_SDK_VERSION=\"${LIVEKIT_SDK_VERSION}\"")

components/livekit/core/common.h

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
#pragma once
3+
4+
#include "esp_peer.h"
5+
#include "esp_capture.h"
6+
#include "av_render.h"
7+
8+
#ifdef __cplusplus
9+
extern "C" {
10+
#endif
11+
12+
typedef struct {
13+
esp_peer_media_dir_t audio_dir;
14+
esp_peer_media_dir_t video_dir;
15+
16+
esp_peer_audio_stream_info_t audio_info;
17+
esp_peer_video_stream_info_t video_info;
18+
19+
esp_capture_handle_t capturer;
20+
av_render_handle_t renderer;
21+
} engine_media_options_t;
22+
23+
#ifdef __cplusplus
24+
}
25+
#endif

0 commit comments

Comments
 (0)