mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
back to recvonly
This commit is contained in:
@ -211,8 +211,8 @@ export abstract class BaseClient extends EventEmitter<BaseEvents> {
|
||||
}
|
||||
|
||||
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)
|
||||
|
Reference in New Issue
Block a user