microsoft / WebRTC-universal-samples

WebRTC samples for the Universal Windows Platform.
177 stars 71 forks source link

support WPF? #17

Closed fengbozs closed 4 years ago

fengbozs commented 6 years ago

Does this project support WPF?

jamescadd commented 6 years ago

Hi @fengbozs, the sample is currently a WinRT component and doesn't work in WPF. We're also working on Desktop .NET support but I don't yet have a timeframe for this (not soon though :). If you have a need for this I'd like to hear more about the scenarios you're looking to implement. Thanks!

James

Fritzwald commented 6 years ago

Hi @jamescadd, I am also interested in this topic, as we want to use the app on computers that are possibly running Windows XP and Windows 7. In the above message you mentioned you are not close to this yet, this was in January though. Has anything changed regarding the progress? Or else any recommendation on how this could be achieved otherwise? Any info would be appreciated.

jamescadd commented 6 years ago

Hi @Fritzwald - no movement on WPF to report yet. Also even for WPF, our planned support was for Windows 10 only - we have not evaluated how much work it would be to get our codebase running on Windows 7. Your best bet is probably to take the Google Win32 codebase and get that running on Windows 7 (though I'm pretty sure they don't support XP). To use it in WPF you would need to implement a custom IMFSchemeHandler which can produce video from the Win32 WebRTC library. This would be a pretty significant amount of work, sorry I don't have more guidance there.

Fritzwald commented 6 years ago

Hi @jamescadd, thanks for the update! I will look into the options you wrote about, maybe I'll figure something out. If not it's not a big deal, at some point people should upgrade their PCs 😄

qzzf1w commented 5 years ago

Just checking in 8 months later.

Can I use the this universal code in a WPF app to do webrtc on windows 10?

Is this Possible?

jamescadd commented 5 years ago

Hi all - you can find the current progress on the .NET Standard 2.0 version of WebRTC here: https://github.com/webrtc-uwp/webrtc-uwp-sdk/tree/Robin/m71-dot-net

Note that this currently supports only "headless" clients that do not need to render video or audio. We're still working on a rendering solution.

Lorymi commented 4 years ago

@fengbozs @jamescadd @Fritzwald @qzzf1w any news or update for use and stream WebRTC in WPF (Net core 3) ?

jamescadd commented 4 years ago

Hello, the most up to date repo is WinRTC. Please take a look here and post issues as needed. I'll close this issue as this repo is deprecated.

https://github.com/Microsoft/WinRTC