Bug 17249 - SdpType usage must be chosen
SdpType usage must be chosen
Status: RESOLVED FIXED
Product: WebRTC Working Group
Classification: Unclassified
Component: WebRTC API
unspecified
All All
: P2 normal
: ---
Assigned To: Web RTC Working Group
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-30 14:15 UTC by Harald Alvestrand
Modified: 2012-08-13 14:43 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harald Alvestrand 2012-05-30 14:15:54 UTC
At the moment (May 30), the spec contains:

[Constructor (DOMString description)]
interface SessionDescription {
    attribute SdpType   type;
    attribute DOMString sdp;
    stringifier DOMString ();
};

and in PeerConnection:

    void        setLocalDescription (SdpType action, SessionDescription description);
    void        setRemoteDescription (SdpType action, SessionDescription description);

The SdpType should either be a property of a SessionDescription or an argument to to Set*Description, not both.

Either we get an argument in favour of one or the other, or we should flip a coin.
Comment 1 Cullen Jennings 2012-08-13 14:43:32 UTC
Hopefully this will mark the right but ( the one about SDPType usage ) as resolved