Beispiel-Apps
Sehen Sie sich Beispielcode auf GitHub an, um schnell mit der Entwicklung loszulegen und sich ein Verständnis für OpenTok anzueignen. Sie können den Quellcode aus diesen Beispielen gerne kopieren und für Ihre eigenen Projekte anpassen.
Diese Beispiele sind auf GitHub zu finden
Wir nutzen GitHub-Repositorys, damit Sie unseren Beispielcode ganz einfach einsehen, kopieren und anpassen können. Falls Sie noch nicht wissen, wie man ein GitHub-Repo klont oder herunterlädt, schauen Sie sich diese Anleitung an hilfreicher Artikel Erfahren Sie in wenigen Minuten, wie es geht.
|
Basic client samples These repositories provide some examples and walkthroughs of different features and use-cases you can build with the OpenTok client SDKs. |
|
| Web | Electron |
| Android Java | Android Kotlin |
| iOS Objective-C | iOS Swift |
| Windows | macOS |
| Linux | React Native |
|
Basic REST Server Already have a client set up and need a quick server solution? These sample apps show how to use the OpenTok Server SDKs to set up a simple REST service for creating sessions, generating tokens, and carrying out archiving functions using REST calls. |
|
| PHP | Node |
|
Archiving These sample apps show how you can use the OpenTok Server SDKs to archive (or record) sessions, list archives that have been created, download and delete the recordings. Also includes a simple client-side implementation. |
|
| PHP | Java |
| .NET | Node |
| Ruby | Python |
|
Third Party Framework Samples These open source repositories provide examples of adding video, voice, and messaging using OpenTok and third-party frameworks, and they are supported by the community. |
|
| Unity Windows | Flutter |
|
Accelerator sample apps + extras These client-side sample apps include much more functionality, with audio/video chat, user controls, CSS styling, and built-in text chat along with some starter code for screen sharing and archiving. |
|
| Web (JS) | Web (React) |
| Android | iOS |
|
Simple client-server using web frameworks These sample apps show how to use popular web frameworks to build your client and server components into a single project. Includes code for creating sessions, generating tokens with those sessions, and then passing those values to a web client that can connect and conduct a group chat. |
|
| PHP | Java |
| .NET | Node |
| Ruby | Python |
|
Video Chat Embeds This sample web app shows you how to generate dynamic video chat embed rooms for a 1-to-1 appointment workflow. This can be used for a doctor-patient, student-teacher, or any other 1-to-1 scheduling application for the web. |
| Node |
|
SIP Interconnect Samples Add dial-in (conference) and/or dial-out to your OpenTok application with OpenTok SIP Interconnect and Nexmo. |
|
| Dial-Out | Conference |