Thanks, Nick. I've turned on logging in Chrome, and this is what the debug log looks like:
[6584:340:1220/091303:ERROR:rtc_video_capture_delegate.cc(88)] NOT IMPLEMENTED
[6584:340:1220/091341:ERROR:rtc_video_capture_delegate.cc(57)] NOT IMPLEMENTED
[6584:340:1220/091343:ERROR:rtc_video_capture_delegate.cc(88)] NOT IMPLEMENTED
[6584:7308:1220/091350:ERROR:rtc_peer_connection_handler.cc(84)] Native session description is null.
[6584:7308:1220/091350:ERROR:rtc_peer_connection_handler.cc(84)] Native session description is null.
[6584:7308:1220/091350:ERROR:rtc_peer_connection_handler.cc(84)] Native session description is null.
[6584:7308:1220/091350:ERROR:rtc_peer_connection_handler.cc(84)] Native session description is null.
[6584:340:1220/091356:ERROR:rtc_video_capture_delegate.cc(88)] NOT IMPLEMENTED
[6584:7308:1220/091356:ERROR:rtc_peer_connection_handler.cc(84)] Native session description is null.
[6584:7308:1220/091356:ERROR:rtc_peer_connection_handler.cc(84)] Native session description is null.
[6584:7308:1220/091356:ERROR:rtc_peer_connection_handler.cc(84)] Native session description is null.
[6584:7308:1220/091356:ERROR:rtc_peer_connection_handler.cc(84)] Native session description is null.
[6584:7308:1220/091356:ERROR:rtc_peer_connection_handler.cc(84)] Native session description is null.
[6584:7308:1220/091356:ERROR:rtc_peer_connection_handler.cc(84)] Native session description is null.
[6584:7308:1220/091356:ERROR:rtc_peer_connection_handler.cc(84)] Native session description is null.
[6584:7308:1220/091356:ERROR:rtc_peer_connection_handler.cc(84)] Native session description is null.
(and lots more of those)
I'm not sure if the "native session description is null" error is more the cause of the result of the setLocalDescription() error.
Agreed that there's no "a=candidate" lines - but I don't see any of those lines in the SDP generated for either the offer or the answer in the working demo at
http://apprtc.appspot.com/ either; nor in the working demo I created earlier at
http://demo.alanta.com/.
The main other thing I've observed over the last several days is that the error is inconsistent. Although I'm not changing anything, sometimes the initiating browser throws the error, when I'm setting the local description after having created the offer. And sometimes it's the responding browser that throws the error when it's setting the local description after having created the answer. And sometimes neither browser throws an error, but it still doesn't work. And occasionally (maybe one out of 10 times) I'll see remote video on one browser but not the other; once or twice I've seen audio but no video; and very occasionally (maybe once out of 20 or 30 times), it'll work flawlessly both directions.
I've pushed the code I'm running into trouble with out to
http://srdemo.alanta.com/. I'd certainly appreciate any additional advice.