back to recvonly

This commit is contained in:
Marcel Battista 2021-02-14 16:49:08 +00:00
parent a362df4976
commit 82cc13b680
3 changed files with 5 additions and 5 deletions

View File

@ -14,7 +14,7 @@ build_server() {
} }
build_base() { build_base() {
docker build -t m1k1o/neko:base -f base/Dockerfile "$BASE" docker build -t gstreamertest/neko:base -f base/Dockerfile "$BASE"
} }
build_firefox() { build_firefox() {
@ -22,7 +22,7 @@ build_firefox() {
} }
build_chromium() { 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 case $1 in

View File

@ -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" 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"

View File

@ -211,8 +211,8 @@ export abstract class BaseClient extends EventEmitter<BaseEvents> {
} }
this._peer.ontrack = this.onTrack.bind(this) this._peer.ontrack = this.onTrack.bind(this)
this._peer.addTransceiver('audio', { direction: 'sendrecv' }) this._peer.addTransceiver('audio', { direction: 'recvonly' })
this._peer.addTransceiver('video', { direction: 'sendrecv' }) this._peer.addTransceiver('video', { direction: 'recvonly' })
this._channel = this._peer.createDataChannel('data') this._channel = this._peer.createDataChannel('data')
this._channel.onerror = this.onError.bind(this) this._channel.onerror = this.onError.bind(this)