0

I want to create an app like https://apprtc.appspot.com/?r=04188292. I know a little bit about webrtc but cannot get a hold of google app-engine.How to set it up for javascript and start coding??I tried this but it did not work

<script src="https://talkgadget.google.com/talkgadget/channel.js"></script>
//for inclusion of channel api
...
console.log(create_channel(1));
//gave an error "Uncaught ReferenceError: create_channel is not defined

Any tutorial/help would be appreciated Is there any other way of using channel api?

Vaibhav
  • 673
  • 1
  • 7
  • 18

4 Answers4

1

Why not you use PUBNUB?

I used PUBNUB for this JavaScript ONLY WebRTC Experiment. See Source code!

Muaz Khan
  • 6,494
  • 7
  • 38
  • 74
  • how did you go about it? i mean where did you start?are there any tutorials on it? – Vaibhav Nov 27 '12 at 12:33
  • If oou asking for PUBNUB --- then 1) http://www.pubnub.com/account-javascript-api-include and 2) http://www.pubnub.com/tutorial/javascript-push-api --- if you asking for WebRTC .... I learnt by experiments....however it is true that I read all IETF RTCWeb specific drafts and I got the main idea from those docs...I learnt How to order WebRTC code by reading those drafts... – Muaz Khan Nov 28 '12 at 02:06
1

There are a lot of tutorials out there. If you're working on the .NET stack, you might take a look at the sample that the XSockets guys put together:

http://xsocketswebrtc.codeplex.com/

It's a bit dated now, as it hasn't been updated to use the latest version of XSockets or of the WebRTC spec. I forked it to fix those issues, and ported the JS portion over to TypeScript while I was at it:

https://bitbucket.org/smithkl42/xsockets.webrtc/overview

Ken Smith
  • 19,697
  • 13
  • 93
  • 139
0

https://developers.google.com/appengine/docs/java/channel/

The Channel API is only available on Google App Engine applications. It's unlikely you'll be able to use it for media transfer as the max message size is 32k.

The required Javascript is served from the application, once correctly configured.

Paul Collingwood
  • 8,978
  • 3
  • 20
  • 34
  • For PubNub, I splitted SDP message into two parts....you can use tricks!! - https://webrtc-experiment.appspot.com/javascript/ – Muaz Khan Nov 29 '12 at 01:53
0

Great work Ken on moving the "old" webRTC experiment! We, Team XSockets.NET are going to release a new version soon , where we embed a set of nice WebRTC things, an easy to use JsApi for WebRTC purposes,

We just recently released a demo,based on fragment of that,

http://browsermeeting.com

At http://xsockets.net you will find more information very soon!

dathor
  • 174
  • 1
  • 3