Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Web Video/Chat application using PeerConnection
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Scott Haynes  
View profile  
 More options May 2 2012, 10:31 am
From: Scott Haynes <scottnc27...@gmail.com>
Date: Wed, 2 May 2012 07:31:54 -0700 (PDT)
Local: Wed, May 2 2012 10:31 am
Subject: Re: [discuss-webrtc] Web Video/Chat application using PeerConnection

I'm attempting to load apprtc on a local server from the following
repository: http://webrtc-samples.googlecode.com/svn/trunk

The syntax error was on line 86:  var initiator = {{ initiator }};
I fixed that error by comparing the code to the example at:  
https://apprtc.appspot.com/

Now, I'm running into an issue with my network security.  
Uncaught ReferenceError: goog is not defined

I work for Lockheed Martin and the network security is always causing
issues.  Just getting canary installed took weeks, because the something
the installer does is blocked by our version of mcafee.  Error from the
network tab is below when I directly try to access the channel.js file.

Is the goog.appengine.channel object absolutely required?  I noticed that
the roap-jsep demo does not appear to include channel.js.  Would it be
possible to just get a copy of the file and add it as a script locally?  I
know we are using the closure math library and we didn't have any troubles
loading that from google.com(or where ever), so I'm kind of puzzled why I
don't have access to *https://talkgadget.google.com/*<https://talkgadget.google.com/>

This webpage is not available
The webpage at *https://talkgadget.google.com/talkgadget/channel.js* might
be temporarily down or it may have moved permanently to a new web address.
Error 111 (net::ERR_TUNNEL_CONNECTION_FAILED): Unknown error.

Thanks,
Scott

On Monday, April 30, 2012 10:12:27 PM UTC-4, Justin Uberti wrote:
> What syntax error are you seeing? The apprtc sample code should run out of
> the box.

> On Mon, Apr 30, 2012 at 10:56 AM, Scott Haynes <scottnc27...@gmail.com>wrote:

>> I'm trying to build a video/chat application using the
>> PeerConnection.  I'm running into a few issues and I wanted to see if
>> anyone could offer some help.  There isn't a lot of info out there and
>> the only demo I've found that seems to work is the jsep/roap sample in
>> the webrtc-samples.  The apprtc has a syntax error, at least in the
>> branch I have of that demo.

>> I've got an web application frame work that allows me to communicate
>> between clients, so it was my understanding that I should NOT need to
>> run a server.

>> I'm calling:
>> var peerConn = new webkitDeprecatedPeerConnection("{{ pc_config }}",
>>              function( message ) {
>>                console.info( "message = " + message );
>>              } );  )

>> and I'm getting a callback into the function defined.  'message' is
>> defined as object with messageType, offererSessionID, sdp, seq, and
>> tieBreaker.  This looks to be valid, from seeing the JSEP/ROAP demo.
>> Do I need to pass the 'message' object to the other clients?

>> I'm also getting a callback to 'onconnecting' in the PeerConnection
>> object.

>> From the samples it looks like I should be getting a callback into
>> 'onaddstream', and from that callback I can call
>> webkitURL.createObjectURL to get the remote URL to pass along to any
>> other clients.  I am adding the local stream to the peerConn, but the
>> onaddstream callback never gets called.  Does anyone see something
>> that I'm doing wrong?  Or have I made incorrect assumptions?

>> Thanks,
>> Scott


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.