This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 17249 - SdpType usage must be chosen
Summary: SdpType usage must be chosen
Status: RESOLVED FIXED
Alias: None
Product: WebRTC Working Group
Classification: Unclassified
Component: WebRTC API (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Web RTC Working Group
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-30 14:15 UTC by Harald Alvestrand
Modified: 2012-08-13 14:43 UTC (History)
3 users (show)

See Also:


Attachments

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