简体   繁体   中英

how to create TCP socket between UWP app on Windows 10 and Xamarin.Forms app on iOS device

I want to stream live camera frames from my Windows 10 computer to my iPad, which will display the frames, in real time.

I want to develop on Windows 10 using Visual Studio for both the Windows 10 app and the iOS app.

I'm considering Windows Universal > Blank App project for the Windows 10 computer app, and iPhone & iPad > IOS XAML APP (XAMARIN.FORMS) for the IOS app.

Which TCP socket technology should I use for the Windows UWP app, and which for the IOS XAML app?

For the iOS application, I'd use libvlcsharp which is cross-platform .NET/Mono bindings for libVLC. It should be quite simple to setup for receiving a video stream from the UWP application.

Then on the UWP side, Microsoft provides a good example of capturing and streaming video using the Media Capture API in the Real-time communication sample on GitHub.

I know that this doesn't directly answer your question about creating the TCP socket but should anyway point you to the right direction. It's been a while since I looked into developing a similar solution myself.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM