This article was originally published on Qiita in Japanese by masasutzu.
I tried out SkyWay - Android - SDK 's p2p - videochat on interesting things whether it will work on THETA V.
As a result, I was able to run p2p-videochat on THETA V, and flowed 360 degrees video to the other party.
I will explain in detail later in this article, but I told gogoroya that I was frustrated at first.
I am able to confirm that I can play audio / video by doing SkyWay-Android-SDK with THETAPlugin. #skyway # thetaplugin #webrtcjphttps: //t.co/9hw2J47269 https://twitter.com/masasutzu/status/1032269543744331778
- gogoroya (@ gogoroya) August 23, 2018
Test Environment
- SkyWay-Android-SDK: v1.04
- RICOH THETA Plug-in SDK: v1.0.0
- THETA V: 2.40.2
- Android Studio: 3.1.3
- OS: Windows10 version 18.03
Steps
Get the code, build the apk, and install in THETA.
You can also use the repository from gogoroya
Changes to p2p-videochat
Add RICOH THETA Plug-in SDK to SkyWay-Android-SDK. Along with this, we will match build.gradle etc on SkyWay-Android-SDK side to RICOH THETA Plug-in SDK
Throw Intent to that effect with onCreate ()
so that you can control the camera from SkyWay-Android-SDK
Initialize the camera with startLocalStream()
Acknowledgments
Thanks to gogoroya, I noticed the initialization process of the camera I was missing and I could write this article. thank you very much.
Original article in Japanese
Extra Resources
If you’ve registered with the Partner Program (putting your THETA in developer mode) and have sent in your serial number (allowing you to develop and upload plug-ins), I’ve got some super useful resources for you!
theta360.guide has pulled together a Top 10 THETA Developer Tips, pulling together feedback from developers, saving you time. We also have some choice apks that you can load immediately and try out with documentation and source code.
Work with speaker volume, record audio files, build a Web GUI for your THETA and lots more!
Send us your contact info and you’ll get an email will all the download links.