- From: Bernard Aboba <Bernard.Aboba@microsoft.com>
- Date: Mon, 5 Jan 2015 20:59:24 +0000
- To: "public-ortc@w3.org" <public-ortc@w3.org>
- CC: Peter Thatcher <pthatcher@google.com>
- Message-ID: <BLUPR03MB133D69693099B36B0A9C5FBEC580@BLUPR03MB133.namprd03.prod.outlook.com>
Peter Thatcher said: "Should we just put this in RtpCodecParameters.parameters, or should we have a specific RtpCodecParameters.ptime? Or do we want .minptime and .maxptime?" [BA] Here is a summary of ptime support in various codecs: https://www.ietf.org/mail-archive/web/rtcweb/current/msg11485.html And here is the summary of the recommendations from https://tools.ietf.org/html/draft-ietf-rtcweb-jsep: Section 5.2.1 (Intial Offers): Each m= section MUST include the following attribute lines: ... o For each supported codec, "a=rtpmap" and "a=fmtp" lines, as specified in [RFC4566], Section 6. For audio, the codecs specified in [I-D.ietf-rtcweb-audio], Section 3, MUST be be supported. o If this m= section is for media with configurable frame sizes, e.g. audio, an "a=maxptime" line, indicating the smallest of the maximum supported frame sizes out of all codecs included above, as specified in [RFC4566], Section 6. As noted in Magnus' summary, there are codec-specific ptime capabilities and settings that could be discovered in RtpCodecCapability.parameters and set in RtpCodecParameters.parameters. However, since the JSEP draft requires " an "a=maxptime" line, indicating the smallest of the maximum supported frame sizes out of all codecs included" it would be useful to have RtpCodecCapability.maxptime and RtpCodecParameters.maxptime so as to make it possible to discover a codec's maxptime, configure it and then compute the smallest of the maxptime values for all codecs. A proposed resolution would look like this: partial dictionary RTCRtpCodecCapability { unsigned long maxptime; } partial dictionary RTCRtpCodecParameters { unsigned long maxptime; }
Received on Monday, 5 January 2015 20:59:54 UTC