如何将视频直播流发送至Azure云?

huangapple go评论83阅读模式
英文:

How to send video live stream to azure cloud?

问题

我在寻找适用于这种情况的合适服务:<br>
在视频模式下打开摄像头并将其流式传输到 Azure 云。<br>
同时从另一侧进行监听(也是客户端)。<br>
我了解了 Azure 媒体服务。<br>
但根据 这个,我了解到从客户端这边是不被允许的。<br>
是否有其他的解决方法或者其他我可以使用的服务?

英文:

I search for suitable service that I can use in this case: <br>
open camera in video mode and stream it to the azure cloud.<br>
and from other side listen to it (also clients). <br>
I read about Azure Media services. <br>
but according this I Understand that it is not allow from the client side. <br>
does have other way to workaround or other service that I can use?

答案1

得分: 0

以下是您要的翻译内容:

能否分享有关用例场景的更多细节?
根据我理解您在上面的请求,您正在寻找一种构建Android应用程序的方法,该应用程序可以使用本地设备摄像头将流推送到Azure媒体服务,并在另一设备上查看该流?
这是您的用例场景吗?

这当然是可能的,但您需要一个能够发送RTMP协议的应用程序。有许多第三方库可以发送RTMP。

您提供的链接文章是我回复的,我在那里指出您应该尽量不要在手机应用程序中存储任何Azure媒体服务帐户凭据。您应该使用中间层对应用程序用户进行身份验证,并为应用程序提供适当的RTMP摄入URL,用于直播活动。

英文:

Can you share more details on the use case scenario?
If I understand your request above, you are looking for a way to build an Android application that can use the local device camera and push the stream to Azure Media Services, and view it on another device?
Is that the use case scenario?

That is certainly possible, but you would need an application that is capable of sending RTMP protocol. There are a number of 3rd party libraries out there that can send RTMP.

The article that you linked to was responded to by me, and what I was pointing out there is that you should try not to store any of your Azure Media Services account credentials inside a phone app. You should use a middle tier to authenticate the app user, and provide the app with the appropriate RTMP ingest URL for a Live Event.

huangapple
  • 本文由 发表于 2020年6月6日 00:07:45
  • 转载请务必保留本文链接:https://go.coder-hub.com/62219643.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定