Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
liowebrtc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sweng-group-15
liowebrtc
Commits
0cf80acb
"git@gitlab.doc.ic.ac.uk:sweng-group-15/drawing-app.git" did not exist on "4c14fbd361e0f3b02231df37672a011f2507deba"
Unverified
Commit
0cf80acb
authored
6 years ago
by
Leon
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
5170874c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+6
-2
6 additions, 2 deletions
README.md
with
6 additions
and
2 deletions
README.md
+
6
−
2
View file @
0cf80acb
...
...
@@ -24,10 +24,14 @@ import LioWebRTC from 'liowebrtc';
const
webrtc
=
new
LioWebRTC
({
// The local video reference set within your render function, or the element's ID
localVideoEl
:
'
localVid
'
,
// Immediately request camera and mic access.
Set to false if you're only transmitting data.
// Immediately request camera and mic access.
autoRequestMedia
:
true
,
// Displays events emitted by the webrtc object in the console.
debug
:
true
debug
:
true
,
// Set this to true if you want to disable video/audio channels, and only enable data channel.
dataOnly
:
false
,
// The url for your signaling server
url
:
'
https://sandbox.simplewebrtc.com:443/
'
,
});
```
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment