I'm developing a chat application using signalR and I finished the text chat but I'm wondering if signalR support the audio and video messages ?? and if it does what are the best way to implement it i have read the wiki on github i have implemented all the chat appilcation using a simple text chat but i couldn't find any solution of how to work around with audio and video do any one know how can i do it ?
SignalR is for sending out small messages to signal data or changes. Therefore you should transmit a link to the actual image or video in this case. The way the web works ;)
Related
I develop chat application using azure communication service chat. For that I follow https://github.com/Azure-Samples/communication-services-web-chat-hero this example and its work. Now I am try to send attachment in this chat but I am not able to find any salutation.
Is it possible to add attachment?
Currently attaching files to chat messages is not natively supported by the Azure Communication Services JavaScript Chat SDK.
I would recommend filing a feature request here for built-in support: https://github.com/Azure/azure-sdk-for-js/issues/new?assignees=&labels=&template=feature_request.md
Conceptually this is totally possible however, if we take the example of embedding a video inside a chat message:
The web client sending the video would need to first upload the video to a storage space you own. This could be to your server or a third party storage solution such as Azure Blob Storage.
The chat message would need to include a placeholder value that indicates there should be a video file here e.g. Take a look at this video: {{video src=VIDEO_SRC}}.
Web clients receiving chat messages would need to first parse through the message and look for special indicators (in our case this would be {{video src=VIDEO_SRC}}). If one is found, the message would need to be specially constructed to support a video. In this case the message html may end up something like:
<div>
Take a look at this video:
<video src=VIDEO_SRC />
</div>
NOTE: This is just one, trivial implementation of how it could be possible to implement attachments in a chat message. This does not take into account security concerns with allowing attachments to chat messages and validation should be performed on message content before being placed into a chat message.
I'm working on living Stream to server in UWP using MediaCapture, but I can't find any useful solution about it.
Microsoft's library, but it only supports Azure.
https://github.com/MicrosoftDX/AzureRTMPIngestLib
I can play RTMP live video streaming from server but can't send video streaming to server, I want to know if there has any solution or library can send RTMP live streaming in UWP?
Following example below uses STSP. I've tested this example on a local network with using ipv4 addresses of two different computers. These computers are transmitting and receiving data at the same time to each other. Client and server sides of your app have to support the same protocol. And it gives too much properties about video recording and streaming processes.
Real-time communication sample
A simple end-to-end video call client that demonstrates the low latency mode of the Windows Runtime capture engine. This is enabled using the msRealTime the video tag or RealTimePlayback on the MediaElement. The sample uses a custom network source and a custom sink extension to send and receive captured audio and video data between two computers.
A demonstration of the end-to-end latency of video captured using the Media Capture API and displayed using a video and MediaElement with low latency mode enabled. Two output windows are displayed. The first shows a camera preview window of the raw output from your camera. The second is a local host client window that shows the video from the camera when compressed, streamed, and received over machine's loopback network interface. This window demonstrates the end-to-end latency of video captured, streamed to, and displayed by a remote client minus network latency.
Now it's your turn. Please inform us about results.
After looking for hours I still can't find how should I set up sending an audio using Discord.net 1.0. All of the solutions I encountered have been for pre-1.0 relases and as far as I can see, new API is completly different.
So my question is: How do i join voice channel and send music through? Do I need external libraries (NAudio)?
If someone is looking for Audio example it's here. You also need opus and libsodium in bot running directory. You can get this libraries on Discord "Discord API" sever with command ?tag voice-natives.
I'm trying to work out a way to to record and broadcast audio in real time with a mobile to a group of receiving mobile clients.
I was looking at shoutcast/icecast to relay the audio but these seem to be old technology. I've been reading about SIP, Jabber, Red, Jingle, etc., but find it a bit confusing.
I'm beginning to think I could use HTML5 browser client (i.e. websockets) to capture and send the audio somehow. Is there a slicker way of doing this using C# as typed code is more comfortable to work with?
I'm looking for a method to send video and audio to the rtsp/rtmp server. It should be compatible with notebook webcams and USB webcams. I would like to do it in C#.
I found some library called rtmpclient, but it looks it can't send a message to the server. I found also a framework to support webcams that gives a posibility to do an action for every captured frame. But I can't find any similar solution to send a voice with the image.
How can I send the video and audio to the server?
Check out https://net7mma.codeplex.com/ ( I am the Author )
It supports Rtsp and Rtp and not Rtmp however it could support Rtmp with some changes. Depending on what you want to achieve it may be able to do it already... You can possibly fake the Rtmp Packet as a RtpPacket and the library wouldn't care.
If you need Rtmp specefically check out
http://www.broccoliproducts.com/softnotebook/rtmpclient/rtmpclient.php
or
http://www.fluorinefx.com/docs/fluorine/netconnectionrtmp.html
Let me know if you need anything else!