Skip to content

Commit 3889685

Browse files
authored
Change 'master' branch to 'main' across the project
1 parent 587ec41 commit 3889685

File tree

9 files changed

+21
-21
lines changed

9 files changed

+21
-21
lines changed

.github/workflows/build_and_publish_all_images.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name: Build & publish all images
77
on:
88
push:
99
branches:
10-
- master
10+
- main
1111
paths:
1212
- ".github/workflows/build_and_publish_all_images.yaml"
1313
- ".github/actions/build_and_publish_image/action.yaml"

.github/workflows/build_and_publish_changed_images.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ name: Build & publish changed images
77
on:
88
push:
99
branches:
10-
- master
10+
- main
1111
pull_request:
12-
branches: master
12+
branches: main
1313
paths-ignore:
1414
- README.md
1515
- .devconttainer/**

.github/workflows/publish_release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
RELEASE_VERSION: ${{ github.ref_name }}
2121
run: |
2222
# If ref name does not match semver, default to 0.0.0.
23-
# This happens when running from a branch name like master.
23+
# This happens when running from a branch name like main.
2424
if [[ ${RELEASE_VERSION} =~ ^v[0-9]+\.[0-9]+\.[0-9]+ ]]; then
2525
echo semver=${RELEASE_VERSION/v/} >> $GITHUB_OUTPUT
2626
else

Dockerfile.example

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
# Supported base images: ubuntu:22.04, ubuntu:20.04
66
ARG UBUNTU_RELEASE=22.04
77
ARG GSTREAMER_BASE_IMAGE=ghcr.io/selkies-project/selkies-gstreamer/gstreamer
8-
ARG GSTREAMER_BASE_IMAGE_RELEASE=master
9-
ARG PY_BUILD_IMAGE=ghcr.io/selkies-project/selkies-gstreamer/py-build:master
10-
ARG WEB_IMAGE=ghcr.io/selkies-project/selkies-gstreamer/gst-web:master
8+
ARG GSTREAMER_BASE_IMAGE_RELEASE=main
9+
ARG PY_BUILD_IMAGE=ghcr.io/selkies-project/selkies-gstreamer/py-build:main
10+
ARG WEB_IMAGE=ghcr.io/selkies-project/selkies-gstreamer/gst-web:main
1111
FROM ${GSTREAMER_BASE_IMAGE}:${GSTREAMER_BASE_IMAGE_RELEASE}-ubuntu${UBUNTU_RELEASE} as selkies-gstreamer
1212
FROM ${PY_BUILD_IMAGE} as selkies-build
1313
FROM ${WEB_IMAGE} as selkies-web

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Example Google Compute Engine/Google Kubernetes Engine deployment configurations
3838

3939
An example image [`ghcr.io/selkies-project/selkies-gstreamer/gst-py-example`](https://github.com/selkies-project/selkies-gstreamer/pkgs/container/selkies-gstreamer%2Fgst-py-example) from the base [example Dockerfile](./Dockerfile.example) is available.
4040

41-
Run the Docker container built from the [`Dockerfile.example`](./Dockerfile.example), then connect to port **8080** of your Docker host to access the web interface (**replace `latest` to `master` for the development build instead of the release build, and choose the Ubuntu versions `20.04`, or `22.04`**):
41+
Run the Docker container built from the [`Dockerfile.example`](./Dockerfile.example), then connect to port **8080** of your Docker host to access the web interface (**replace `latest` to `main` for the development build instead of the release build, and choose the Ubuntu versions `20.04`, or `22.04`**):
4242

4343
```bash
4444
docker run --name selkies -it --rm -p 8080:8080 ghcr.io/selkies-project/selkies-gstreamer/gst-py-example:latest-ubuntu20.04
@@ -138,7 +138,7 @@ selkies-gstreamer &
138138

139139
### Install the latest build on a standalone machine or cloud instance
140140

141-
Docker (or an equivalent) is required if you are to use builds from the latest commit. Refer to the above section for more granular informations. This method can be also used when building a new container image with the `FROM [--platform=<platform>] <image> [AS <name>]` and `COPY [--from=<name>] <src_path> <dest_path>` instruction instead of using the `docker` CLI. **Change `master` to `latest` if you want the latest release version instead of the latest development version.**
141+
Docker (or an equivalent) is required if you are to use builds from the latest commit. Refer to the above section for more granular informations. This method can be also used when building a new container image with the `FROM [--platform=<platform>] <image> [AS <name>]` and `COPY [--from=<name>] <src_path> <dest_path>` instruction instead of using the `docker` CLI. **Change `main` to `latest` if you want the latest release version instead of the latest development version.**
142142

143143
**NOTE: You will need to use an external STUN/TURN server capable of `srflx` or `relay` type ICE connections if both your server and client have ports closed or are under a restrictive firewall. Either open the TCP and UDP port ranges 49152-65535 of your server, or follow the instructions from [Using a TURN server](#using-a-turn-server) in order to make the container work using an external TURN server.**
144144

@@ -161,8 +161,8 @@ If using supported NVIDIA GPUs, install NVENC (bundled with the GPU driver) and
161161
2. Copy the GStreamer build from the container image and move it to `/opt/gstreamer` (change the OS version `UBUNTU_RELEASE` as needed):
162162

163163
```bash
164-
docker pull ghcr.io/selkies-project/selkies-gstreamer/gstreamer:master-ubuntu${UBUNTU_RELEASE}
165-
docker create --name gstreamer ghcr.io/selkies-project/selkies-gstreamer/gstreamer:master-ubuntu${UBUNTU_RELEASE}
164+
docker pull ghcr.io/selkies-project/selkies-gstreamer/gstreamer:main-ubuntu${UBUNTU_RELEASE}
165+
docker create --name gstreamer ghcr.io/selkies-project/selkies-gstreamer/gstreamer:main-ubuntu${UBUNTU_RELEASE}
166166
sudo docker cp gstreamer:/opt/gstreamer /opt/gstreamer
167167
docker rm gstreamer
168168
```
@@ -172,8 +172,8 @@ This will install the GStreamer components to the default directory of `/opt/gst
172172
3. Copy the Python Wheel file from the container image and install it:
173173

174174
```bash
175-
docker pull ghcr.io/selkies-project/selkies-gstreamer/py-build:master
176-
docker create --name selkies-py ghcr.io/selkies-project/selkies-gstreamer/py-build:master
175+
docker pull ghcr.io/selkies-project/selkies-gstreamer/py-build:main
176+
docker create --name selkies-py ghcr.io/selkies-project/selkies-gstreamer/py-build:main
177177
docker cp selkies-py:/opt/pypi/dist/selkies_gstreamer-0.0.0.dev0-py3-none-any.whl /tmp/selkies_gstreamer-0.0.0.dev0-py3-none-any.whl
178178
docker rm selkies-py
179179
sudo pip3 install /tmp/selkies_gstreamer-0.0.0.dev0-py3-none-any.whl
@@ -183,8 +183,8 @@ rm -f /tmp/selkies_gstreamer-0.0.0.dev0-py3-none-any.whl
183183
4. Install the HTML5 components to the container image:
184184

185185
```bash
186-
docker pull ghcr.io/selkies-project/selkies-gstreamer/gst-web:master
187-
docker create --name gst-web ghcr.io/selkies-project/selkies-gstreamer/gst-web:master
186+
docker pull ghcr.io/selkies-project/selkies-gstreamer/gst-web:main
187+
docker create --name gst-web ghcr.io/selkies-project/selkies-gstreamer/gst-web:main
188188
sudo docker cp gst-web:/usr/share/nginx/html /opt/gst-web
189189
docker rm gst-web
190190
```

addons/gst-web/src/signalling.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@
3636
class WebRTCDemoSignalling {
3737
/**
3838
* Interface to WebRTC demo signalling server.
39-
* Protocol: https://github.com/centricular/gstwebrtc-demos/blob/master/signalling/Protocol.md
39+
* Protocol: https://github.com/GStreamer/gstreamer/blob/main/subprojects/gst-examples/webrtc/signalling/Protocol.md
4040
*
4141
* @constructor
4242
* @param {URL} [server]
4343
* The URL object of the signalling server to connect to, created with `new URL()`.
4444
* Signalling implementation is here:
45-
* https://github.com/centricular/gstwebrtc-demos/tree/master/signalling
45+
* https://github.com/GStreamer/gstreamer/tree/main/subprojects/gst-examples/webrtc/signalling
4646
* @param {number} [peer_id]
4747
* The peer ID established during signalling that the sending peer (server) will connect to.
4848
* This can be anything, but must match what the server will attempt to connect to.

docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ services:
3535
# 2. export GSTREAMER_BASE_IMAGE=gstreamer
3636
# 3. docker-compose build test
3737
GSTREAMER_BASE_IMAGE: ${GSTREAMER_BASE_IMAGE:-ghcr.io/selkies-project/selkies-gstreamer/gstreamer}
38-
GSTREAMER_BASE_IMAGE_RELEASE: ${GSTREAMER_BASE_IMAGE_RELEASE:-master}
38+
GSTREAMER_BASE_IMAGE_RELEASE: ${GSTREAMER_BASE_IMAGE_RELEASE:-main}
3939

4040
PY_BUILD_IMAGE: selkies-gstreamer-py-build:latest
4141
WEB_IMAGE: gst-web:latest

infra/gke/manifests/coturn/kustomization.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ resources:
3030
images:
3131
- name: ghcr.io/selkies-project/selkies-gstreamer/coturn
3232
newName: ghcr.io/selkies-project/selkies-gstreamer/coturn
33-
newTag: master
33+
newTag: main
3434
- name: ghcr.io/selkies-project/selkies-gstreamer/coturn-web
3535
newName: ghcr.io/selkies-project/selkies-gstreamer/coturn-web
36-
newTag: master
36+
newTag: main

src/selkies_gstreamer/webrtc_signalling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"""Signalling API for Gstreamer WebRTC demo
3333
3434
Interfaces with signalling server found at:
35-
https://github.com/centricular/gstwebrtc-demos/tree/master/signalling
35+
https://github.com/GStreamer/gstreamer/tree/main/subprojects/gst-examples/webrtc/signalling
3636
3737
Usage example:
3838
from webrtc_signalling import WebRTCSignalling

0 commit comments

Comments
 (0)