Skip to content

Add mediasource type, support SMTC for windows and android - #3287

Open
JieNiGui06 wants to merge 5 commits into
CommunityToolkit:mainfrom
JieNiGui06:main
Open

Add mediasource type, support SMTC for windows and android#3287
JieNiGui06 wants to merge 5 commits into
CommunityToolkit:mainfrom
JieNiGui06:main

Conversation

@JieNiGui06

@JieNiGui06 JieNiGui06 commented Aug 14, 2026

Copy link
Copy Markdown
  • Feature/Proposal

Description of Change

I'm aiming to make the mediaelement to adapt to all the platform, but now, I only tried it on windows.

  1. Add the MediaSource-type:
    MetaMediaSource. Include Metadata, http-headers in source.
    HttpMediaSource. Include sets of MetaMediaSource, default-http-headers, startindex.

  2. Results:
    I can set a list of Playbackitem to the Mediaelement and auto to refresh the metadata for each playbackitem.

PR Checklist

  • Has a linked Issue, and the Issue has been approved(bug) or Championed (feature/proposal)
  • Has tests (if omitted, state reason in description) only on windows and android
  • Has samples (if omitted, state reason in description)
  • Rebased on top of main at time of PR
  • Changes adhere to coding standard
  • Documentation created or updated: https://github.com/MicrosoftDocs/CommunityToolkit/pulls

Additional information

@JieNiGui06

Copy link
Copy Markdown
Author

@dotnet-policy-service agree

@JieNiGui06 JieNiGui06 changed the title Add mediasource type, support SMTC for windows Add mediasource type, support SMTC for windows and android Aug 15, 2026
@JieNiGui06

Copy link
Copy Markdown
Author

I can only do it on windows and android.
On mac or ios, I don't know how to do.

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.

1 participant