Skip to content

Commit 1086db6

Browse files
committed
Only send video in gocv-receive
Pion now implicitly creates transceivers when answering. Before we would ignore audio, now we need to explicitly not send it.
1 parent d16b2ac commit 1086db6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gocv-receive/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ go get github.com/pion/example-webrtc-applications/gocv-receive
1818
```
1919

2020
### Open gocv-receive example page
21-
[jsfiddle.net](https://jsfiddle.net/b3d72av1/) you should see your Webcam, two text-areas and a 'Start Session' button
21+
[jsfiddle.net](https://jsfiddle.net/Lsfkexmt/) you should see your Webcam, two text-areas and a 'Start Session' button
2222

2323
### Run gocv-receive with your browsers SessionDescription as stdin
2424
In the jsfiddle the top textarea is your browser, copy that and:

gocv-receive/jsfiddle/demo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ var log = msg => {
1111
document.getElementById('logs').innerHTML += msg + '<br>'
1212
}
1313

14-
navigator.mediaDevices.getUserMedia({ video: true, audio: true })
14+
navigator.mediaDevices.getUserMedia({ video: true, audio: false })
1515
.then(stream => {
1616
pc.addStream(document.getElementById('video1').srcObject = stream)
1717
pc.createOffer().then(d => pc.setLocalDescription(d)).catch(log)

0 commit comments

Comments
 (0)