I am currently working on a solution where i want to livestream from my app. I succesfully get my camerastream working with avfoundation. The next step in order to complete my task is to send my video frames to a rtmp server but I am not sure on how i can accomplish this in xamarin forms ios.
For swift there is a library called https://github.com/jgh-/VideoCore that solves this but do we have something similiar in xamarin (any library) or documentation on examples that tackles this issue?
Thanks a lot!
Maybe it's a bit late for you, but this can probably help someone who wants to do the same thing (like I did), you can use the Xamarin port of LFLiveKit:
https://github.com/rhedgpeth/Xamarin-LFLiveKit
You'll have to implement a custom renderer to use it with forms, but it's not too hard if you follow the sample project in the repository.
Related
I can find the ways to receive and handle shared Text/Data on Xamarin.Android how can the same be done on Xamarin.iOS?
When you share something on WhatsApp I want my app to show up here:
Then I need to handle the data. I really cannot find many answers to this, some say it can't be done using xamarin. Others want to rely on WhatsApp's API. The rest use Swift or Java where I need C#.
Any help would be highly appreciated. Thank you for your time.
This is iOS Share Extension and can be done on Xamarin.iOS
There is a detailed document here for all other iOS Extensions since iOS 8 with a short video. A tutorial for Today Extension but the creation of Share Extension is similar.
https://learn.microsoft.com/en-us/xamarin/ios/platform/extensions
You can look at the Xamarin.iOS sample code for Share extension (which meets your issue: https://developer.xamarin.com/samples/monotouch/ios8/Share/
I am looking to create a videocall app but I am a bit unsure where I should start. Preferably I would like to implement a service like skype or something similiar to avoid creating the entire code myself but maybe that is what i have to do. I have a camera stream already implemented (avfoundation) but i can imagine there is a lot of work left in order to create a fully working videocall code.
What options do you guys think I have? Is it possible to implement skype for xamarin forms? I also saw a component called Twilio that you can use in xamarin forms but it seems like it is not supporting a video call, atleast not the component in xamarin forms.
Any help, tips, links is greatly appreciated!
You could use Azure Media Services for this.
https://azure.microsoft.com/en-us/services/media-services/
I am trying to stream video from my webcam (audio and video) from .NET UWP IOT application.
I tried this WebCamApp sample from https://github.com/ms-iot/samples and it works perfectly. Now I would like to play with streaming that video to another PC/device. I am open to your suggestions on how to approach this. In past I was dealing with RTSP, but not on this platform. So far I saw that limitation is the .NET Core.
Are there any libraries for this? Or should i write something from scratch? What are your suggestions?
I don't have a complete solution, but what you're looking for is real time streaming. and I recommend using WebRTC.
WebRTC is a project built by google to support real time communication, you can play around with the sample from this website:
https://www.webrtc-experiment.com/
I found also this port for UWP, applications. But I'm not sure if it works with IOT:
https://www.nuget.org/packages/WebRTC/
I'm developping a SmartDevice application (Pocket PC 2003 template) in C# for a device with Windows Mobile 6.1. I need to use the camera of this device (photos, video); to do this work i tried using the CameraCaptureDialog class but it does not work for Pocket PC applications.
So, I documented on the internet and found that I probably refer to DirectShow API, but the problem is that I do not know where to start because I can't found a working/correct example.
My questions:
Is this the right way? Are there alternatives?
Where I can find a very good example that shows how to do this work?
You may try directshowbetcf: http://alexmogurenko.com/blog/directshownetcf/ if you really want to go with DirectShow and NetCF.
There's plenty of examples of directshow on the web. There is a site dedicated to converting the API over to C# which makes it a lot easier, maybe this was it http://directshownet.sourceforge.net/about.html. I struggled with DirectShow until I read the book "programming directshow" from microsoft press. About a third of that way through that book it all seemed incredibly easy and I was able to complete what I wanted. In the end it's a lot like referencing any library and using the classes from within that library. The added difficulty is that you need to add wrappers because they are all COM objects but that has been done for you.
This might be useful to you to understand the DirectShow technology. Basically gives a start to DirctShow and explains some of the important points. But its C++ not C#. Hope this help
Basic Video Capture
DirectShow is the video capture API in Windows Mobile 6. There is a Video Capture Filter there and all in all things are designed pretty much the same way they are in Windows.
The problem is that however that this is a native API, and not just in Windows Mobile. To develop in C# you need some bindings and they are missing. On desktop there is DirectShow.NET, which is a missing piece, but it does not seem to fit well for CE. Yet you still need to fill this gap in Windows Mobile.
To work it around you have a few ways, the first would be to go through DirectShow.NET and update it appropriately to start working on your device, strip parts missing in mobile OS etc. This would get you a twin for DS.NET but for mobile operating system.
Another option would be to do some C++ development and implement the minimal sufficient feature set in that domain, exposing the component via COM. Then you will reference this from managed code and things will get connected together. And another obvious option would be to use a third party solution which already does one of the mentioned above.
I just want to implement audio recording tool in our application.The functionality is as follows.
Record an audio through microphone(voice recording)
stop that audio
saving that audio
generate embed code for the same audio
I appreciate your suggessions to implement this.
thanks very much
ASP.NET on its own is not suited for this kind of application. If you want users to be able to record audio on your website, you could take a look at Silverlight 4.0 (vid).
See also this question:
Recording Audio From Web Page
If that's not what you need, please explain your intended purpose more clearly.
This should be done in flash or silverlight. This has not a lot to do with c#.
See http://activeden.net/item/sound-recorder/104191