This PR adds Peerconnection::localDescription(). It is implemented with a non-ideal trick of calling two javascript functions--rtcLocalDescriptionSdp and rtcLocalDescriptionType--which introduces some redundancy. Perhaps this can be improved by returning a string array or with use of multi-value return from javascript to c++, which I currently do not know how to implement...
Done on top of #12.
This PR adds Peerconnection::localDescription(). It is implemented with a non-ideal trick of calling two javascript functions--rtcLocalDescriptionSdp and rtcLocalDescriptionType--which introduces some redundancy. Perhaps this can be improved by returning a string array or with use of multi-value return from javascript to c++, which I currently do not know how to implement...