Re: [rtcweb] inactive m-lines in draft-ietf-rtcweb-jsep-05

Paul Kyzivat <> Fri, 01 November 2013 20:53 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 06D4511E8179 for <>; Fri, 1 Nov 2013 13:53:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -0.248
X-Spam-Status: No, score=-0.248 tagged_above=-999 required=5 tests=[AWL=0.189, BAYES_00=-2.599, FH_RELAY_NODNS=1.451, HELO_MISMATCH_NET=0.611, RDNS_NONE=0.1]
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id H6BTVIBt-CMP for <>; Fri, 1 Nov 2013 13:52:54 -0700 (PDT)
Received: from ( [IPv6:2001:558:fe14:43:76:96:62:24]) by (Postfix) with ESMTP id 0D43F11E813D for <>; Fri, 1 Nov 2013 13:52:53 -0700 (PDT)
Received: from ([]) by with comcast id kHhs1m0050vyq2s51Lstsb; Fri, 01 Nov 2013 20:52:53 +0000
Received: from Paul-Kyzivats-MacBook-Pro.local ([]) by with comcast id kLst1m00D3ZTu2S3RLstSx; Fri, 01 Nov 2013 20:52:53 +0000
Message-ID: <>
Date: Fri, 01 Nov 2013 13:52:53 -0700
From: Paul Kyzivat <>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Martin Thomson <>
References: <> <> <> <>
In-Reply-To: <>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=q20121106; t=1383339173; bh=cgK/lTOkdKHfGQvulDefWKf8q4/xmEjtBE+ugUMtJtY=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=QlUDXBE1Wyx6WEyKJSfJLuDDWvuW4i/C1fJnIpJm062M3AJWT3z5yoJivl97Ox1fN ZCT6BU6oDd1/catCFb5OwoFWMUKgGryVVe3KqHMt6MNCQ4VZ8EaXgAbrjqXuK1ljWh 1TfLUAhIJnzowICoDvSEW/56baObuqICjqXS3Yq+6nu03o6UC9G5U+lEWbGN5FqoaL pG5hQfa7tYolUjVSsRjZ6/QF8Xr2lnLt/EBZfvpyQy72fk4MOAJAiFd9VwvDAPaZyB +8z5yJoUGS6tTo11lTtUA3N8PB9EODDu/qVRCL3v7PBtzn5sU8xm8LNvLC36hB5DhJ NH99+8GIqdgIA==
Cc: "" <>
Subject: Re: [rtcweb] inactive m-lines in draft-ietf-rtcweb-jsep-05
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Fri, 01 Nov 2013 20:53:00 -0000

On 10/29/13 12:07 PM, Martin Thomson wrote:
> On 29 October 2013 11:53, Paul Kyzivat <> wrote:
>> This maps each MediaStreamTracks of a given type to a different m-line. I
>> *thought* the use of "specified type" above meant audio/video. Am I missing
>> something?
> Yes.  sort of, though I'd expand "type" to encompass the concept of
> compatibility.  Obviously a source with an H.264 encoder can't be
> bound to an m= section that only has VP8 negotiated.
> 1. RTCPeerConnection binds tracks to m= sections
> 2. For sending tracks, that binding is tentatively made when an offer
> or answer is constructed
> 3. Sending tracks are bound when setLocalDescription is called
> 4. For receiving tracks, that binding is made when the track is made,
> which is when setRemoteDescription is called
> When generating offers or answers, the set of bindings (including
> tentative ones) - plus the enabled state of the track - determines
> what of the send/recv attributes is attached to that m= section.

It would be nice for this to be clearer in this draft.
The binding of potentially *two* MediaStreamTracks to each m-line isn't 
apparent to me from the existing text.

IIUC you are assuming a sendrecv m-line will map to two unidirectional 
MediaStreamTracks. Looking at a description of the MediaStreamTrack API 
I find:

"MediaStreamTrack.readonly Read only
     Is a boolean value with a value of true if the track is readonly 
(such a video file source or a camera that settings can't be modified), 
false otherwise."

That seems to imply that one that isn't read-only must be read-write. I 
don't see any mention of write-only.

	Still confused,