How can i use WEBRTC to implement video/audio/text chat ?

1,638 views
Skip to first unread message

Sumit Jain

unread,
Feb 21, 2013, 5:36:06 AM2/21/13
to discuss...@googlegroups.com
Hi,

I am exploring WEBRTC and looking for text to text conversation methods of WEBRTC? I went through "http://www.html5rocks.com/en/tutorials/webrtc/basics/#toc-simple" in which i have gone through WEBRTC demo it is superb(i just click on one link and that ask for permission of my webcam/audio device and then it generate code to send other end to initiate video call). How can I use text to text conversation?
Please suggest.

Thanks,
Sumit Jain

Vikas

unread,
Feb 21, 2013, 7:16:44 PM2/21/13
to discuss-webrtc
Hi Sumit,

You can check this demo out (http://simpl.info/rtcdatachannel/)

/Vikas

Sumit Jain

unread,
Feb 22, 2013, 7:18:22 AM2/22/13
to discuss...@googlegroups.com
Thank you but when i click on start button pop up ask for enable data channel flag but i am able to make video chat through WEBRTC so i think data channel flag is enabled.
also when i hit chrome://flags/ in url of chrome i don't see any data channel flag tab so i can make diffference my chrome version is "25.0.1364.97 (Official Build 183676beta-m".

Please suggest how can i achieve.

Thanks,
Sumit Jain

PhistucK

unread,
Feb 22, 2013, 8:37:44 AM2/22/13
to discuss...@googlegroups.com
Unfortunately, I believe data channels are not supported in Chrome 25. Try earlier release channels (dev, canary or Chromium nightlies) -

--
 
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

PhistucK

unread,
Feb 22, 2013, 8:41:53 AM2/22/13
to discuss...@googlegroups.com
Note that the canary build will be installed alongside your stable Chrome, so this is the best way to experiment with the latest Chrome features while still having the stable Chrome release for normal browsing.

PhistucK

Vikas

unread,
Feb 22, 2013, 1:45:10 PM2/22/13
to discuss-webrtc
Hi,

RTCDataChannel is supported by Chrome 25 and above, but is behind a
flag before Chrome 27. The flag is not visible in chrome://flags. You
have to run chrome with --enable-data-channels.

/Vikas

On Feb 22, 5:41 am, PhistucK <phist...@gmail.com> wrote:
> Note that the canary build will be installed alongside your stable Chrome,
> so this is the best way to experiment with the latest Chrome features while
> still having the stable Chrome release for normal browsing.
>
> ☆*PhistucK*
>
>
>
>
>
>
>
> On Fri, Feb 22, 2013 at 3:37 PM, PhistucK <phist...@gmail.com> wrote:
> > Unfortunately, I believe data channels are not supported in Chrome 25. Try
> > earlier release channels (dev, canary or Chromium nightlies) -
> >http://www.chromium.org/getting-involved/dev-channel
>
> > ☆*PhistucK*
>
> > On Fri, Feb 22, 2013 at 2:18 PM, Sumit Jain <siddha.su...@gmail.com>wrote:
>
> >> Thank you but when i click on start button pop up ask for* enable data
> >> channel flag* but i am able to make video chat through WEBRTC so i think
> >> data channel flag is enabled.
> >> also when i hit *chrome://flags/* in url of chrome i don't see any data
> >> channel flag tab so i can make diffference my chrome version is "
> >> 25.0.1364.97 (Official Build 183676) beta-m".
>
> >> Please suggest how can i achieve.
>
> >> Thanks,
> >> Sumit Jain
>
> >> On Friday, 22 February 2013 05:46:44 UTC+5:30, Vikas wrote:
>
> >>> Hi Sumit,
>
> >>> You can check this demo out (http://simpl.info/**rtcdatachannel/<http://simpl.info/rtcdatachannel/>)
>
> >>> /Vikas
>
> >>> On Feb 21, 2:36 am, Sumit Jain <siddha.su...@gmail.com> wrote:
> >>> > Hi,
>
> >>> > I am exploring WEBRTC and looking for text to text conversation
> >>> methods of
> >>> > WEBRTC? I went through
> >>> > "http://www.html5rocks.com/en/**tutorials/webrtc/basics/#toc-**simple<http://www.html5rocks.com/en/tutorials/webrtc/basics/#toc-simple>"

Sumit Jain

unread,
Feb 25, 2013, 2:29:26 AM2/25/13
to discuss...@googlegroups.com
Hi Vikas,
 
On chrome Version 27.0.1420.0 canary  "http://simpl.info/rtcdatachannel/"  is working fine but i need to implement peer to peer text chat :( .

Thanks,
Sumit

Magnus Thor

unread,
Feb 25, 2013, 3:34:28 AM2/25/13
to discuss...@googlegroups.com
Hi,

I have created a peer-to-peer ( DataChannel ) based chat,  here is a snippet ;



It uses a XSockets.NET based service,takes care of the signaling , let me know on con...@xsockets.net , and we can shoot you the JS API's if you think it is interseting

Magnus

Sumit Jain

unread,
Feb 25, 2013, 6:02:58 AM2/25/13
to discuss...@googlegroups.com
Actually this code is importing some javascript file in head tag so we need those script....

Thanks,
Sumit
Reply all
Reply to author
Forward
0 new messages