Bug 17249 - SdpType usage must be chosen
Summary: SdpType usage must be chosen
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:
Depends on:
Reported: 2012-05-30 14:15 UTC by Harald Alvestrand
Modified: 2012-08-13 14:43 UTC (History)
3 users (show)

See Also:


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