Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

metadata: add payloadType #117

Merged
merged 1 commit into from
Jan 27, 2022
Merged

metadata: add payloadType #117

merged 1 commit into from
Jan 27, 2022

Conversation

fippo
Copy link
Collaborator

@fippo fippo commented Aug 17, 2021

adds a payloadType attribute to the metadata. This is the RTP payload type
from the RTP header, with a range of [0,127].

This can be used to determine the codec of the encoded data and hence its
format.


Preview | Diff

adds a payloadType attribute to the metadata. This is the RTP payload type
from the RTP header, with a range of [0,127].

This can be used to determine the codec of the encoded data and hence its
format.
@fippo
Copy link
Collaborator Author

fippo commented Aug 17, 2021

hrm: https://w3c.github.io/webrtc-stats/#codec-dict* makes this an unsigned long but the range is really (half a) an octet.
I would actually like to have mimeType as well (which is a tad more complicated to implement) but do see use-cases where I need the raw payload type, e.g. a RFC 2198 encoder.

johzzy pushed a commit to johzzy/webrtc-mirror that referenced this pull request Aug 25, 2021
spec PR: w3c/webrtc-encoded-transform#117

Bug: webrtc:13077
Change-Id: I81d79201cea353c26ea840e92c0deec7c7253b8b
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/229020
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Harald Alvestrand <hta@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#34844}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Aug 26, 2021
exposes the payload type in the encoded audio/video frame metadata
spec PR:
  w3c/webrtc-encoded-transform#117

BUG=webrtc:13077

Change-Id: I17340aec0b18637d7c1f3222add496a8aeb346ae
@alvestrand
Copy link
Contributor

Ash-nazg issue: this is definitely a substantial contribution.

@dontcallmedom
Copy link
Member

@fippo can you get in touch by email to discuss our options wrt IPR?

chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Aug 26, 2021
exposes the payload type in the encoded audio/video frame metadata
spec PR:
  w3c/webrtc-encoded-transform#117

BUG=webrtc:13077

Change-Id: I17340aec0b18637d7c1f3222add496a8aeb346ae
@dontcallmedom
Copy link
Member

to give a quick update on the IPR situation: @fippo has gotten approval to make the proper IPR commitment, but the system can only collect it once the spec has been published as a FPWD (which hopefully should happen soon)

chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Sep 3, 2021
exposes the payload type in the encoded audio/video frame metadata
spec PR:
  w3c/webrtc-encoded-transform#117

BUG=webrtc:13077

Change-Id: I17340aec0b18637d7c1f3222add496a8aeb346ae
Copy link
Contributor

@alvestrand alvestrand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Sometimes it's required.

@fippo
Copy link
Collaborator Author

fippo commented Sep 6, 2021

🎉
process-wise would it be ok to merge the corresponding Chrome change (before the branch cut on thursday ideally) and leave this PR open until we have the system can collect my agreement for the IPR commitment?

chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Sep 7, 2021
exposes the payload type in the encoded audio/video frame metadata
spec PR:
  w3c/webrtc-encoded-transform#117

BUG=webrtc:13077

Change-Id: I17340aec0b18637d7c1f3222add496a8aeb346ae
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3118568
Reviewed-by: Harald Alvestrand <hta@chromium.org>
Reviewed-by: Tony Herre <toprice@chromium.org>
Commit-Queue: Philipp Hancke <philipp.hancke@googlemail.com>
Cr-Commit-Position: refs/heads/main@{#918748}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Sep 7, 2021
exposes the payload type in the encoded audio/video frame metadata
spec PR:
  w3c/webrtc-encoded-transform#117

BUG=webrtc:13077

Change-Id: I17340aec0b18637d7c1f3222add496a8aeb346ae
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3118568
Reviewed-by: Harald Alvestrand <hta@chromium.org>
Reviewed-by: Tony Herre <toprice@chromium.org>
Commit-Queue: Philipp Hancke <philipp.hancke@googlemail.com>
Cr-Commit-Position: refs/heads/main@{#918748}
blueboxd pushed a commit to blueboxd/chromium-legacy that referenced this pull request Sep 7, 2021
exposes the payload type in the encoded audio/video frame metadata
spec PR:
  w3c/webrtc-encoded-transform#117

BUG=webrtc:13077

Change-Id: I17340aec0b18637d7c1f3222add496a8aeb346ae
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3118568
Reviewed-by: Harald Alvestrand <hta@chromium.org>
Reviewed-by: Tony Herre <toprice@chromium.org>
Commit-Queue: Philipp Hancke <philipp.hancke@googlemail.com>
Cr-Commit-Position: refs/heads/main@{#918748}
@dontcallmedom
Copy link
Member

IPR bot now happy, yay 🎉

moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Sep 22, 2021
… a=testonly

Automatic update from web-platform-tests
insertable streams: expose payload type

exposes the payload type in the encoded audio/video frame metadata
spec PR:
  w3c/webrtc-encoded-transform#117

BUG=webrtc:13077

Change-Id: I17340aec0b18637d7c1f3222add496a8aeb346ae
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3118568
Reviewed-by: Harald Alvestrand <hta@chromium.org>
Reviewed-by: Tony Herre <toprice@chromium.org>
Commit-Queue: Philipp Hancke <philipp.hancke@googlemail.com>
Cr-Commit-Position: refs/heads/main@{#918748}

--

wpt-commits: f2da2a889acbbf73f7f81ca5d93a7b7588a5683a
wpt-pr: 30191
@fippo
Copy link
Collaborator Author

fippo commented Sep 23, 2021

"I signed it" (thanks subu) :-)

aosmond pushed a commit to aosmond/gecko that referenced this pull request Sep 24, 2021
… a=testonly

Automatic update from web-platform-tests
insertable streams: expose payload type

exposes the payload type in the encoded audio/video frame metadata
spec PR:
  w3c/webrtc-encoded-transform#117

BUG=webrtc:13077

Change-Id: I17340aec0b18637d7c1f3222add496a8aeb346ae
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3118568
Reviewed-by: Harald Alvestrand <hta@chromium.org>
Reviewed-by: Tony Herre <toprice@chromium.org>
Commit-Queue: Philipp Hancke <philipp.hancke@googlemail.com>
Cr-Commit-Position: refs/heads/main@{#918748}

--

wpt-commits: f2da2a889acbbf73f7f81ca5d93a7b7588a5683a
wpt-pr: 30191
Gabisampaio pushed a commit to Gabisampaio/wpt that referenced this pull request Nov 18, 2021
exposes the payload type in the encoded audio/video frame metadata
spec PR:
  w3c/webrtc-encoded-transform#117

BUG=webrtc:13077

Change-Id: I17340aec0b18637d7c1f3222add496a8aeb346ae
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3118568
Reviewed-by: Harald Alvestrand <hta@chromium.org>
Reviewed-by: Tony Herre <toprice@chromium.org>
Commit-Queue: Philipp Hancke <philipp.hancke@googlemail.com>
Cr-Commit-Position: refs/heads/main@{#918748}
@alvestrand alvestrand merged commit f80a936 into w3c:main Jan 27, 2022
github-actions bot added a commit that referenced this pull request Jan 27, 2022
SHA: f80a936
Reason: push, by @alvestrand

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@fippo fippo deleted the payloadtype branch January 27, 2022 15:32
mjfroman pushed a commit to mjfroman/moz-libwebrtc-third-party that referenced this pull request Oct 14, 2022
exposes the payload type in the encoded audio/video frame metadata
spec PR:
  w3c/webrtc-encoded-transform#117

BUG=webrtc:13077

Change-Id: I17340aec0b18637d7c1f3222add496a8aeb346ae
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3118568
Reviewed-by: Harald Alvestrand <hta@chromium.org>
Reviewed-by: Tony Herre <toprice@chromium.org>
Commit-Queue: Philipp Hancke <philipp.hancke@googlemail.com>
Cr-Commit-Position: refs/heads/main@{#918748}
NOKEYCHECK=True
GitOrigin-RevId: fb399e309c1884f6802fb606944679a7c90f0e94
daemory pushed a commit to dangxiwang/webrtc that referenced this pull request Apr 19, 2024
spec PR: w3c/webrtc-encoded-transform#117

Bug: webrtc:13077
Change-Id: I81d79201cea353c26ea840e92c0deec7c7253b8b
daemory pushed a commit to dangxiwang/webrtc that referenced this pull request Apr 19, 2024
spec PR: w3c/webrtc-encoded-transform#117

Bug: webrtc:13077
Change-Id: I81d79201cea353c26ea840e92c0deec7c7253b8b
daemory pushed a commit to dangxiwang/webrtc that referenced this pull request Apr 19, 2024
spec PR: w3c/webrtc-encoded-transform#117

Bug: webrtc:13077
Change-Id: I81d79201cea353c26ea840e92c0deec7c7253b8b
daemory pushed a commit to dangxiwang/webrtc that referenced this pull request Apr 19, 2024
spec PR: w3c/webrtc-encoded-transform#117

Bug: webrtc:13077
Change-Id: I81d79201cea353c26ea840e92c0deec7c7253b8b
daemory pushed a commit to dangxiwang/webrtc that referenced this pull request Apr 19, 2024
spec PR: w3c/webrtc-encoded-transform#117

Bug: webrtc:13077
Change-Id: I81d79201cea353c26ea840e92c0deec7c7253b8b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants