diff --git a/.m1k1o/build b/.m1k1o/build index c342a7f..ccc3ee0 100755 --- a/.m1k1o/build +++ b/.m1k1o/build @@ -14,7 +14,7 @@ build_server() { } build_base() { - docker build -t m1k1o/neko:base -f base/Dockerfile "$BASE" + docker build -t gstreamertest/neko:base -f base/Dockerfile "$BASE" } build_firefox() { @@ -22,7 +22,7 @@ build_firefox() { } build_chromium() { - docker build -t m1k1o/neko:chromium -f chromium/Dockerfile chromium/ + docker build -t gstreamertest/neko:chromium -f chromium/Dockerfile chromium/ } case $1 in diff --git a/.m1k1o/chromium/Dockerfile b/.m1k1o/chromium/Dockerfile index b43b1d9..552483c 100644 --- a/.m1k1o/chromium/Dockerfile +++ b/.m1k1o/chromium/Dockerfile @@ -1,4 +1,4 @@ -FROM m1k1o/neko:base +FROM gstreamertest/neko:base ARG SRC_URL="https://github.com/macchrome/linchrome/releases/download/v88.0.4324.96-r827102-portable-ungoogled-Lin64/ungoogled-chromium_88.0.4324.96_1.vaapi_linux.tar.xz" diff --git a/client/src/neko/base.ts b/client/src/neko/base.ts index f331892..9128af4 100644 --- a/client/src/neko/base.ts +++ b/client/src/neko/base.ts @@ -211,8 +211,8 @@ export abstract class BaseClient extends EventEmitter { } this._peer.ontrack = this.onTrack.bind(this) - this._peer.addTransceiver('audio', { direction: 'sendrecv' }) - this._peer.addTransceiver('video', { direction: 'sendrecv' }) + this._peer.addTransceiver('audio', { direction: 'recvonly' }) + this._peer.addTransceiver('video', { direction: 'recvonly' }) this._channel = this._peer.createDataChannel('data') this._channel.onerror = this.onError.bind(this)