-
Notifications
You must be signed in to change notification settings - Fork 353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add FAQs #77
Open
nitobuendia
wants to merge
3
commits into
googlecodelabs:master
Choose a base branch
from
nitobuendia:patch-3
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Add FAQs #77
Changes from 1 commit
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,4 +23,29 @@ This is a work in progress. If you find a mistake or have a suggestion, please [ | |
|
||
## For 'step-04', 'step-05', 'step-06' | ||
|
||
Run `npm install` before running the code. | ||
Run `npm install` before running the code. | ||
|
||
## Frequently Asked Questions | ||
|
||
### Can I use WebRTC in PHP, Python or other backend languages? | ||
Yes. While this Codelab is built using Node.js in order to [enable signaling](https://www.html5rocks.com/en/tutorials/webrtc/infrastructure/) between peers, [WebRTC](https://webrtc.org) is a web API that can be used in any web server or backend. | ||
|
||
There are several repositories on GitHub built in [PHP](https://github.com/search?l=php&q=webrtc&type=Repositories) or [Python](https://github.com/search?l=Python&q=webrtc&type=Repositories) that can help you get started. | ||
|
||
### Can I use WebRTC in a server? | ||
Yes. WebRTC is a web API which is intended to be used in a real server. However, note that in order for WebRTC to work, you will need to serve over HTTPs and have your own [signaling system](https://www.html5rocks.com/en/tutorials/webrtc/infrastructure/). | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. HTTPs => HTTPS There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done. |
||
|
||
### Can this codelab be hosted on a server? | ||
The objective of this codelab is to show and teach how WebRTC works. As a result, the code is not thought or intended to be directly hosted in a server or production environment. | ||
|
||
However, you can use the base code to get you started. From there, you would need to get at least the [following relevant changes](https://github.com/googlecodelabs/webrtc-web/issues/70): | ||
|
||
1. Migrate from HTTP to HTTPs. [Read more](https://github.com/googlecodelabs/webrtc-web/issues/48). | ||
1. Enabling [signaling using STUN and TURN servers](https://www.html5rocks.com/en/tutorials/webrtc/infrastructure/) to ensure peers can connect using your service. | ||
1. Rewriting some of the signaling code to ensure that communication only happens across the right peers instead of broadcasting to all connected peers. | ||
|
||
### Can we have more than two peers connected using WebRTC? | ||
Yes. The codelab is limitting to two peers per room; but WebRTC can handle multiple connections. [Read more](https://github.com/googlecodelabs/webrtc-web/issues/72). | ||
|
||
### Is WebRTC only used for video conferencing? | ||
No, WebRTC can be used for all sorts of Real-Time Communications; including messages or files. You can see more applications on the [WebRTC samples](https://github.com/webrtc/samples). |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I get what you're saying, but maybe 'Can I run a WebRTC app from a remote server?'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.