Re: [webrtc-pc] Parameters for packetization interval

Looking at JSEP Section 5.2.1 (initial Offers): 

   o  If this m= section is for media with configurable durations of
      media per packet, e.g., audio, an "a=maxptime" line, indicating
      the maximum amount of media, specified in milliseconds, that can
      be encapsulated in each packet, as specified in [RFC4566],
      Section 6.  This value is set to the smallest of the maximum
      duration values across all the codecs included in the m= 
section.

Section 5.3.1 (Initial Answers) says: 

   o  If this m= section is for media with configurable durations of
      media per packet, e.g., audio, an "a=maxptime" line, as 
described
      in Section 5.2.

Section 5.7.2 (Media Section Parsing) says: 

   o  If present, a single "a=ptime" line MUST be parsed as described 
in
      [RFC4566], Section 6, and its value stored.

   o  If present, a single "a=maxptime" line MUST be parsed as 
described
      in [RFC4566], Section 6, and its value stored.

Section 5.9 (Applying a Remote Description) says: 

      *  If the media section is of type audio:

         +  For any specified "ptime" value, configure the available
            media formats to use the specified packet size.  If the
            specified size is not supported for a media format, use 
the
            next closest value instead.

[BA] Together this suggests that a single value of maxptime or ptime 
is provided per m-line.  Currently the object model only provides the 
ability to expose capabilities such as maxptime at codec-level 
granularity within RTCRtpCodecCapability or settings such as ptime at 
codec-level granularity within RTCRtpCodecParameters.  

-- 
GitHub Notification of comment by aboba
Please view or discuss this issue at 
https://github.com/w3c/webrtc-pc/pull/1035#issuecomment-281788669 
using your GitHub account

Received on Wednesday, 22 February 2017 20:12:46 UTC