Is Python required to develop the webrtc video chat app

945 views
Skip to first unread message

Navi

unread,
Dec 4, 2013, 5:49:58 AM12/4/13
to discuss...@googlegroups.com
Hi,

Is Python required to develop the webrtc video chat app. I found the google app engine create_channel() under python code from 

https://code.google.com/p/webrtc/source/browse/stable/samples/js/apprtc/apprtc.py (This module demonstrates the WebRTC API by implementing a simple video chat app. )

In this example they are using token in Python. I am using ASP.NET, how can I use the channel api to generate the same thing as above python code.

Thanks
NAvi

Patrick Marques

unread,
Dec 6, 2013, 9:29:08 AM12/6/13
to discuss...@googlegroups.com
Python is only the program language used in the server side, in this case using Google App Engine, The create_channel is from a service provided by the GAE for signalling messages more info here https://developers.google.com/appengine/docs/python/channel/

If your intent is to deploy your web application in GAE, AFAIK they don't support ASP.NET, but you can use other frameworks/libraries for that, for instance XSockets.NET

Navi

unread,
Dec 7, 2013, 1:01:54 AM12/7/13
to discuss...@googlegroups.com
Actually In my case, I am creating web application un ASP.NET and it will be configured in IIS7.

i want, in asp.net page I want to create url with unique id and share it to other and it should connected.

Do i still need to any server side api to achieve the video calling by webrtc?

Still confused. Please suggest..

Hugo Machefer

unread,
Dec 7, 2013, 12:22:46 PM12/7/13
to discuss...@googlegroups.com
Hi, allow me jump into this. I work on WIN32. I'm not straight over-familiar with what happens around webrtc.googlecode.com
yet. Here is what I've done, using depot_tools\python276_bin\python.exe (by Chromium) first, and installing <easy_setup.exe>:
  • svn checkout http://webrtc.googlecode.com/svn/trunk/ webrtc-read-only
  • python samples\js\apprtc\apprtc.py  => requiring jinja2 as a module
  • easy_setup jinja2 
  • python samples\js\apprtc\apprtc.py  => requiring webapp2 as a module
  • easy_setup webapp2 
  • python samples\js\apprtc\apprtc.py  =>  complaining about google.appengine.api as a module
  • installing <GoogleAppEngine-1.8.8.msi>   +    set PYTHONPATH=D:\Program Files (x86)\Google\google_appengine
  • python samples\js\apprtc\apprtc.py    =>  Traceback ... =>   no module named yaml
  • easy_setup yaml   =>    error: Could not find suitable distribution for Requirement.parse('yaml')
I did my best to depict the synopsis with fine-tuned details, I hope. Anyone shedding lights on this will be honored ;-)

 -- hmachefe

PS: I feel I made a serious progress on this however, I expect to 'reproducehttps://apprtc.appspot.com on my own here.

Alexandre GOUAILLARD

unread,
Dec 8, 2013, 7:27:55 AM12/8/13
to discuss...@googlegroups.com
this code (everything under /apprtc) is supposed to be uploaded to a GAE account:

if you want to run it locally, install the GAE python SDK:




--
 
---
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.

Patrick Marques

unread,
Dec 8, 2013, 9:57:56 AM12/8/13
to discuss...@googlegroups.com
AFAIK yaml python module is called "pyaml"

Alexandre GOUAILLARD

unread,
Dec 9, 2013, 10:01:36 PM12/9/13
to discuss...@googlegroups.com
@patrick, you're right, but in this specific case, you still need GAE's specific constructs and APIs like "channel", and "DB" and a couple of others.


--

Patrick Marques

unread,
Dec 10, 2013, 4:39:11 AM12/10/13
to discuss...@googlegroups.com
@Alexandre, is true but as you pointed the right links to GAE, so I just answer the other question.
Reply all
Reply to author
Forward
0 new messages