언어 설정

Menu
Sites
Language
How can I make a walkie-talkie system in Gear S?

Hi, 

I want to make a walkie-talkie system in Gear S//

For example, let there are 2 Gears.

One gear record an audio file, and send the file to other gear. 

 

So, to make this function, I should make a two key function.

First is recording person's voice and second is file transfer.

 

However, I'm not good at development..

So I'm in chaos....

 

I try to transfer the audio file by using node JS, but It must use html form type. 

But I want auto send and auto receive just using file path.

 

Please help me. Thanks.

 

 

Responses

6 댓글
David Villia

Your question is not clear.

In generall two gears can't communicate directly. One Gear can be connected to mobile having Samsung SAP sdk. After that communication between mobile and Gear can be possible.

can you give more information?

SeungHoon Woo

Hi,
Thnks to reply.

I just thinking that One Gear record Voice, make file, and upload the file on to the server.
And then Second Gear download the file and should play the file.

I already have amazon server.

 

 

SeungHoon Woo

Also, I want to know how to record voice.
Tizen IDE already have sample code to record voice, but I think that code is somewhat hard for me...

 

daniel kim

Hi,

You can refer to this file of Voicerecorder sample. but as far as I know, you need to implement SIP stack and RTCP module to acheive Push-to-talk service what you need.

       /models/audio.js

Regards

SeungHoon Woo

Hi,

I already try to analyze that code. I could change the code, but It was somewhat hard for me so that I could not make new record app..

Also, I'm beginner of development and communication function, so it is appreciate for me to explain easily..

Thanks

daniel kim

Hi,

I would suggest you to refer to below links regarding SIP and TCP as you have to control audio data real time. otherwise audio packet what you sent from one Gear S might be delivered to others by wrong order. As far as I know,  SIP and RTP/RTCP are basics of walkie-talkie system.

  https://en.wikipedia.org/wiki/Session_Initiation_Protocol

  https://en.wikipedia.org/wiki/Real-time_Transport_Protocol

Regards