[Bug 17249] New: SdpType usage must be chosen

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17249

           Summary: SdpType usage must be chosen
           Product: WebRTC Working Group
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebRTC API
        AssignedTo: public-webrtc@w3.org
        ReportedBy: harald@alvestrand.no
                CC: public-webrtc@w3.org


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.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.

Received on Wednesday, 30 May 2012 14:16:02 UTC