Would it be
possible to just get a copy of the file and add it as a script
locally?
I've succesfu;;y running webrtc sample by downloading app engine sdk
dan run it locally. (python2.7)
I guess you can disable channel.js but you need to replacing it with
your own pool mecanism...
> >>> On Thu, May 3, 2012 at 7:18 PM, Scott Haynes <
scottnc27...@gmail.com>wrote:
>
> >>>> I just found this:
http://www.webrtc.org/reference
>
> >>>> Probably a good candidate for a link on the home page.
> >>>> Scott
>
> >>>> On Thursday, May 3, 2012 12:37:22 PM UTC-4, Ivan Vučica wrote:
>
> >>>>> Based on its name, goog.appengine.channel seems to be related to
> >>>>> Google's app hosting service, Google App Engine.
>
> >>>>> You'll definitely want to learn by looking at other examples and
> >>>>> WebRTC drafts from w3c as your primary source of information. The sample
> >>>>> you are referring to can be a nice example, but probably can't be a good
> >>>>> starting point.
>
> >>>>> On Wed, May 2, 2012 at 4:31 PM, Scott Haynes <
scottnc27...@gmail.com>wrote:
>
> >>>>>> I'm attempting to load apprtc on a local server from the following
> >>>>>> repository:
http://webrtc-samples.**
googlecode.com/svn/trunk<
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*
> >>>>>> migh**t 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
>
> >>>>> --
> >>>>> Ivan Vučica -
i...@vucica.net
>
> >>> --
> >>> Ivan Vučica -
i...@vucica.net