Skip to content

Commit

Permalink
Fixed broken createOffer documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mabolo authored Feb 29, 2024
1 parent 4ffede7 commit 84b4bc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mainpage.dox
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,7 @@ echotest.createOffer(
tracks: [{ type: 'video', mid: '1', remove: true }],
success: function(jsep) {
echotest.send({ message: { video: true }, jsep: jsep })
}
},
error: function(error) {
bootbox.alert('WebRTC error... ' + error.message);
}
Expand All @@ -774,7 +774,7 @@ echotest.createOffer(
tracks: [{ type: 'screen', add: true, capture: true }],
success: function(jsep) {
echotest.send({ message: { video: true }, jsep: jsep })
}
},
error: function(error) {
bootbox.alert('WebRTC error... ' + error.message);
}
Expand Down

0 comments on commit 84b4bc0

Please sign in to comment.