webkitPeerConnection00 available in Canary?

541 views
Skip to first unread message

Ivan Vučica

unread,
Apr 16, 2012, 12:59:15 PM4/16/12
to discuss...@googlegroups.com
Hi,

I just did 
  javascript:alert(webkitPeerConnection00);
as well as just a tiny bit more of digging, and it looks like webkitPeerConnection00 has landed into Canary 20.0.1104.0.

Does this mean we can start working on demos based on JSEP? Are there any JSEP-using demos already?

--
Ivan Vučica - iv...@vucica.net


Harald Alvestrand

unread,
Apr 16, 2012, 1:09:41 PM4/16/12
to discuss...@googlegroups.com
Yes, the JSEP has landed.
The adaptation layer has also been updated to work with this:

http://code.google.com/p/webrtc-samples/source/browse/#svn%2Ftrunk%2Froap-jsep

This also contains a very simple call-yourself page that demonstrates
working with multiple PeerConnections in a single page; it works with
PeerConnection00, DeprecatedPeerConnection and a pure mock
PeerConnection coded up for the tests.

We know of a few bugs (mostly around closing connections), which is
why this hasn't been announced!

Harald

Ivan Vučica

unread,
Apr 16, 2012, 1:21:38 PM4/16/12
to discuss...@googlegroups.com, discuss...@googlegroups.com
Hi,

Thanks for all the hard work! I can't wait to play with it.

Regards,

Ivan Vučica
via phone

Xia, Junluan

unread,
Apr 17, 2012, 9:30:08 AM4/17/12
to discuss...@googlegroups.com
Hi Harald,

I try the demo from http://code.google.com/p/webrtc-samples/source/browse/#svn%2Ftrunk%2Froap-jsep
Just one question:
The "OK" message like {"messageType":"OK","offererSessionID":104,"answererSessionID","seq":1} is ignored by caller? Or need be handled by some function?

Harald Alvestrand

unread,
Apr 17, 2012, 9:44:52 AM4/17/12
to discuss...@googlegroups.com
At the moment, the demo seems to work without doing anything with the
OK message.

It was intended to be used by responders that wanted to delay some
action (like sending media) until the answer had been received by the
initiator, but things seem to work fine without that.

Harald

hahafrog

unread,
Apr 17, 2012, 10:16:38 AM4/17/12
to discuss...@googlegroups.com
Hi , is webkitPeerConnection00 support  multiple independent PeerConnections or not?

Harald Alvestrand於 2012年4月17日星期二UTC+8下午9時44分52秒寫道:
Harald Alvestrand於 2012年4月17日星期二UTC+8下午9時44分52秒寫道:

PhistucK

unread,
Apr 17, 2012, 10:18:34 AM4/17/12
to discuss...@googlegroups.com
Like Harald mentioned - looks like it supports multiple PeerConnections.

PhistucK

Scott Haynes

unread,
Apr 25, 2012, 11:06:48 AM4/25/12
to discuss...@googlegroups.com
I need to write a video chat application in canary, and I had been looking into the PeerConnection API.  I ran into this post and now I'm a little bit confused.  Should I be using JSEP/ROAP or just using the PeerConnection API directly.  It seems like JSEP/ROAP is an API on top of the PeerConnection.  Is there a document/webpage that talks about history and road map of what all is going on here?  Any help would be greatly appreciated, as I've only been working with WebRTC since last week.  I've got the call-yourself page working, and this looks exactly like what I need to do(just in separate clients).  Cool stuff.

Thanks,
Scott 

hahafrog

unread,
Apr 25, 2012, 11:23:17 AM4/25/12
to discuss...@googlegroups.com
if you just want to build peerconnection, then PeerConnection API is enough.
but if you want to use your self - defined handshake protocol(like: SIP) ,then you must use webkitpeerconnection00.

Scott Haynes於 2012年4月25日星期三UTC+8下午11時06分48秒寫道:

Scott Haynes

unread,
Apr 25, 2012, 12:38:26 PM4/25/12
to discuss...@googlegroups.com
Thanks for the reply.  Does anyone know of an sample web application that is using PeerConnection?  I was looking at the https://apprtc.appspot.com sample but I'm getting a 'goog is not defined', plus the createPeerConnection is commented out. I'm assuming that when the page was uploaded that PeerConnection inmplementation was not ready, but it should be fine now.

Is there a document that describes the parameters to webkitPeerConnection?

TIA,
Scott
Reply all
Reply to author
Forward
0 new messages