Skip to content

Commit

Permalink
README to documentation synchro
Browse files Browse the repository at this point in the history
  • Loading branch information
olivier-lando committed Nov 13, 2023
1 parent 207b8a7 commit c6fedcb
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 12 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/create-documentation-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Create documentation PR
on:
# Trigger the workflow on pull requests targeting the main branch
pull_request:
types: [assigned, unassigned, opened, reopened, synchronize, edited, labeled, unlabeled, edited, closed]
branches:
- main

jobs:
create_documentation_pr:
if: github.event.action != 'closed'

runs-on: ubuntu-latest

steps:
- name: Check out current repository code
uses: actions/checkout@v2

- name: Create the documentation pull request
uses: apivideo/api.video-create-readme-file-pull-request-action@main
with:
source-file-path: "README.md"
destination-repository: apivideo/api.video-api-client-generator
destination-path: templates/documentation/sdks/livestream
destination-filename: apivideo-android-livestream-module.md
pat: "${{ secrets.PAT }}"

38 changes: 26 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!--<documentation_excluded>-->
[![badge](https://img.shields.io/twitter/follow/api_video?style=social)](https://twitter.com/intent/follow?screen_name=api_video)
&nbsp; [![badge](https://img.shields.io/github/stars/apivideo/api.video-android-live-stream?style=social)](https://github.com/apivideo/api.video-android-live-stream)
&nbsp; [![badge](https://img.shields.io/discourse/topics?server=https%3A%2F%2Fcommunity.api.video)](https://community.api.video)
Expand All @@ -8,7 +9,7 @@
video APIs for integrating, scaling, and managing on-demand & low latency live streaming features in
your app.

# Table of contents
## Table of contents

- [Table of contents](#table-of-contents)
- [Project description](#project-description)
Expand All @@ -22,15 +23,28 @@ your app.
- [Sample application](#sample-application)
- [FAQ](#faq)

# Project description
<!--</documentation_excluded>-->
<!--<documentation_only>
---
title: Android live stream module
meta:
description: The official Android live stream module for api.video. [api.video](https://api.video/) is the video infrastructure for product builders. Lightning fast video APIs for integrating, scaling, and managing on-demand & low latency live streaming features in your app.
---
# api.video Android Live stream module
[api.video](https://api.video/) is the video infrastructure for product builders. Lightning fast video APIs for integrating, scaling, and managing on-demand & low latency live streaming features in your app.
</documentation_only>-->
## Project description

This library is an easy way to broadcast livestream to api.video platform on Android.

# Getting started
## Getting started

## Installation
### Installation

### Gradle
#### Gradle

On build.gradle add the following code in dependencies:

Expand All @@ -40,7 +54,7 @@ dependencies {
}
```

## Permissions
### Permissions

```xml

Expand All @@ -54,7 +68,7 @@ dependencies {
Your application must dynamically require `android.permission.CAMERA`
and `android.permission.RECORD_AUDIO`.

## Code sample
### Code sample

1. Add [permissions](#permissions) to your `AndroidManifest.xml` and request them in your
Activity/Fragment.
Expand Down Expand Up @@ -126,28 +140,28 @@ class MyFragment : Fragment(), ConnectionChecker {
For detailed information on this livestream library API, refers
to [API documentation](https://apivideo.github.io/api.video-android-live-stream/).

# Tips
## Tips

You can check device supported configurations by using the helper: `Helper`

# Documentation
## Documentation

* [API documentation](https://apivideo.github.io/api.video-android-live-stream/)
* [api.video documentation](https://docs.api.video)

# Dependencies
## Dependencies

We are using external library

| Plugin | README |
| ------ | ------ |
| [StreamPack](https://github.com/ThibaultBee/StreamPack) | [README.md](https://github.com/ThibaultBee/StreamPack/blob/master/README.md) |

# Sample application
## Sample application

A demo application demonstrates how to use this livestream library. See `/example` folder.

# FAQ
## FAQ

If you have any questions, ask us here: https://community.api.video . Or use [Issues].

Expand Down

0 comments on commit c6fedcb

Please sign in to comment.