/skylink-android-screen-sharing

Simple application demonstrating the use of Android Media Projection API and Skylink for Android

Primary LanguageJavaOtherNOASSERTION

skylink-android-screen-sharing

Deprecation warning

This demo uses a past version of Skylink SDK for Android, which is no longer the best version to use. For current SDK and its usage, please see information at Other resources below.

About this project

This project uses Android MediaProjection (available from API level 21 onwards) to capture screenshots, which are sent to a remote Peer using the SkylinkConnection.sendData method. The remote Peer receives each screenshot and render it in an ImageView.

The screensharing effect achieved here is a demonstration of a possible use case of SkylinkConnection.sendData, and is not compatible with the screensharing functionality on other Skylink SDKs, including the Skylink JS SDK's shareScreen.

Pre-requisites

The device sharing the screen needs to run API level 21 and above.

Step by step guide for Android Studio

  1. Clone the repository
  2. Import the project into Android Studio using File -> Open and select SkylinkShare folder inside the skylink-android-screen-sharing folder
  3. Obtain developer key
  4. In the MainActivity, replace the APP_KEY and APP_SECRET constants with the key and secret obtained from Step 3.

Contact Us

Please feel free to reach out to us with feedback or feature requests regarding Skylink on our support portal

Other resources

Product website : https://skylink.io/android

SkylinkSDK for Android's Sample app: https://github.com/Temasys/skylink-android-sample

To be notified of new product releases, please subscribe to our Release Notes.

Copyright and License

Copyright 2015 Temasys Communications Pte Ltd under APACHE 2.0 license