Skip to content

Commit 16c9b91

Browse files
authored
Rebranding (#40)
1 parent 8fe9f0d commit 16c9b91

File tree

109 files changed

+159
-151
lines changed

Some content is hidden

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

109 files changed

+159
-151
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[submodule "protos"]
22
path = protos
3-
url = https://github.com/jellyfish-dev/protos.git
3+
url = https://github.com/fishjam-dev/protos.git

README.md

Lines changed: 7 additions & 7 deletions

compile_proto.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ git submodule sync --recursive >> /dev/null
99
git submodule update --recursive --remote --init >> /dev/null
1010
printf "DONE\n\n"
1111

12-
server_file="./protos/jellyfish/server_notifications.proto"
12+
server_file="./protos/fishjam/server_notifications.proto"
1313
printf "Compiling: file $server_file\n"
14-
protoc -I . --python_betterproto_out=./jellyfish/events/_protos $server_file
14+
protoc -I . --python_betterproto_out=./fishjam/events/_protos $server_file
1515
printf "\tDONE\n"
1616

17-
peer_file="./protos/jellyfish/peer_notifications.proto"
17+
peer_file="./protos/fishjam/peer_notifications.proto"
1818
printf "Compiling: file $peer_file\n"
1919
protoc -I . --python_betterproto_out=./tests/support/protos $peer_file
2020
printf "\tDONE\n"

docker-compose-test.yaml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
version: "3"
22

33
services:
4-
jellyfish:
5-
image: "ghcr.io/fishjam-dev/jellyfish:${TAG:-edge}"
6-
container_name: jellyfish
4+
fishjam:
5+
image: "ghcr.io/fishjam-dev/fishjam:${TAG:-edge}"
6+
container_name: fishjam
77
restart: on-failure
88
healthcheck:
99
test: >
10-
curl --fail -H "authorization: Bearer development" http://jellyfish:5002/room || exit 1
10+
curl --fail -H "authorization: Bearer development" http://fishjam:5002/room || exit 1
1111
interval: 3s
1212
retries: 2
1313
timeout: 2s
1414
start_period: 30s
1515
environment:
16-
JF_HOST: "jellyfish:5002"
17-
JF_INTEGRATED_TURN_IP: "${INTEGRATED_TURN_IP:-127.0.0.1}"
18-
JF_INTEGRATED_TURN_LISTEN_IP: "0.0.0.0"
19-
JF_INTEGRATED_TURN_PORT_RANGE: "50000-50050"
20-
JF_INTEGRATED_TCP_TURN_PORT: "49999"
21-
JF_SERVER_API_TOKEN: "development"
22-
JF_PORT: 5002
23-
JF_SECRET_KEY_BASE: "super-secret-key"
24-
JF_SIP_USED: "true"
25-
JF_SIP_IP: "127.0.0.1"
16+
FJ_HOST: "fishjam:5002"
17+
FJ_INTEGRATED_TURN_IP: "${INTEGRATED_TURN_IP:-127.0.0.1}"
18+
FJ_INTEGRATED_TURN_LISTEN_IP: "0.0.0.0"
19+
FJ_INTEGRATED_TURN_PORT_RANGE: "50000-50050"
20+
FJ_INTEGRATED_TCP_TURN_PORT: "49999"
21+
FJ_SERVER_API_TOKEN: "development"
22+
FJ_PORT: 5002
23+
FJ_SECRET_KEY_BASE: "super-secret-key"
24+
FJ_SIP_IP: "127.0.0.1"
25+
FJ_COMPONENTS_USED: rtsp file hls recording sip
2626
ports:
2727
- "5002:5002"
2828
- "49999:49999"
2929
- "50000-50050:50000-50050/udp"
3030
volumes:
31-
- ./tests/fixtures:/app/jellyfish_resources/file_component_sources
31+
- ./tests/fixtures:/app/fishjam_resources/file_component_sources
3232

3333
test:
3434
container_name: test
@@ -41,7 +41,7 @@ services:
4141
volumes:
4242
- .:/app
4343
depends_on:
44-
jellyfish:
44+
fishjam:
4545
condition: service_healthy
4646

4747
examples:
@@ -54,5 +54,5 @@ services:
5454
volumes:
5555
- .:/app
5656
depends_on:
57-
jellyfish:
57+
fishjam:
5858
condition: service_healthy

docs/index.md

Lines changed: 2 additions & 2 deletions

docs/server_notifications.md

Lines changed: 1 addition & 1 deletion

examples/mini_tutorial.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
import asyncio
22
import os
33

4-
from jellyfish import (
4+
from fishjam import (
55
ComponentOptionsFile,
66
ComponentOptionsHLS,
77
ComponentOptionsHLSSubscribeMode,
88
Notifier,
99
RoomApi,
1010
)
11-
from jellyfish.events import (
11+
from fishjam.events import (
1212
ServerMessageHlsPlayable,
1313
ServerMessageTrackAdded,
1414
ServerMessageTrackType,
1515
)
1616

17-
HOST = "jellyfish" if os.getenv("DOCKER_TEST") == "TRUE" else "localhost"
17+
HOST = "fishjam" if os.getenv("DOCKER_TEST") == "TRUE" else "localhost"
1818
SERVER_ADDRESS = f"{HOST}:5002"
1919

2020

@@ -55,9 +55,9 @@ async def test_notifier():
5555
# that allow to use HLS.
5656
address, room = room_api.create_room(video_codec="h264")
5757

58-
# Create new room api with returned jellyfish address as a room could be
59-
# created on a different jellyfish instance
60-
# (if you communicate with a cluster of jellyfishes)
58+
# Create new room api with returned fishjam address as a room could be
59+
# created on a different fishjam instance
60+
# (if you communicate with a cluster of fishjames)
6161
room_api = RoomApi(server_address=address)
6262

6363
# Add HLS component with manual subscribe mode

examples/room_api.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
import os
22

3-
from jellyfish import ComponentOptionsHLS, PeerOptionsWebRTC, RoomApi
3+
from fishjam import ComponentOptionsHLS, PeerOptionsWebRTC, RoomApi
44

5-
HOST = "jellyfish" if os.getenv("DOCKER_TEST") == "TRUE" else "localhost"
5+
HOST = "fishjam" if os.getenv("DOCKER_TEST") == "TRUE" else "localhost"
66
SERVER_ADDRESS = f"{HOST}:5002"
77

88
# Create a room
99
room_api = RoomApi(server_address=SERVER_ADDRESS, server_api_token="development")
1010

11-
jellyfish_address, room = room_api.create_room(
11+
fishjam_address, room = room_api.create_room(
1212
video_codec="h264", webhook_url="http://localhost:5000/webhook"
1313
)
14-
print((jellyfish_address, room))
14+
print((fishjam_address, room))
1515

1616
# Add peer to the room
1717
result = room_api.add_peer(room.id, options=PeerOptionsWebRTC())

examples/server_notifications.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import asyncio
22
import os
33

4-
from jellyfish import Notifier, RoomApi
5-
from jellyfish.events import ServerMessageTrackAdded, ServerMessageTrackType
4+
from fishjam import Notifier, RoomApi
5+
from fishjam.events import ServerMessageTrackAdded, ServerMessageTrackType
66

7-
HOST = "jellyfish" if os.getenv("DOCKER_TEST") == "TRUE" else "localhost"
7+
HOST = "fishjam" if os.getenv("DOCKER_TEST") == "TRUE" else "localhost"
88
SERVER_ADDRESS = f"{HOST}:5002"
99

1010
notifier = Notifier(server_address=SERVER_ADDRESS, server_api_token="development")
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
# pylint: disable=locally-disabled, no-name-in-module, import-error
66

77
# Exceptions and Server Messages
8-
from jellyfish import errors, events
8+
from fishjam import errors, events
99

1010
# Models
11-
from jellyfish._openapi_client.models import (
11+
from fishjam._openapi_client.models import (
1212
ComponentFile,
1313
ComponentHLS,
1414
ComponentOptionsFile,
@@ -40,10 +40,10 @@
4040
)
4141

4242
# API
43-
from jellyfish._webhook_notifier import receive_binary
44-
from jellyfish._ws_notifier import Notifier
45-
from jellyfish.api._recording_api import RecordingApi
46-
from jellyfish.api._room_api import RoomApi
43+
from fishjam._webhook_notifier import receive_binary
44+
from fishjam._ws_notifier import Notifier
45+
from fishjam.api._recording_api import RecordingApi
46+
from fishjam.api._room_api import RoomApi
4747

4848
__all__ = [
4949
"RoomApi",

0 commit comments

Comments
 (0)