[英]Streaming video/audio from iOS device
I have read several posts here about live streaming video/audio from iOS device while user is recording. 我在这里看了几篇关于用户录制时来自iOS设备的直播视频/音频的帖子。 Unfortunately it seems that there is not any "good" solution.
不幸的是,似乎没有任何“好”的解决方案。
I understand that I must have access to files while I am recording and then send files to server from which other users can watch my stream live (with a small time lag). 据我所知,在录制时我必须能够访问文件,然后将文件发送到服务器,其他用户可以在其中实时观看我的流(时间间隔很小)。
Working with iOS is not problem for me, I am more struggling with part where data should be handled to server and the whole processing on server. 使用iOS对我来说不是问题,我更难以处理数据应该处理到服务器以及服务器上的整个处理。
I have several questions: 我有几个问题:
I would also really appreciate if possible answers would more than one word long for each question. 如果可能的答案对于每个问题都有多个单词,我也会非常感激。
Please find my answers to your questions: 请找到我对你的问题的答案:
There is a class of software called "media servers". 有一类称为“媒体服务器”的软件。 Eg Wowza, Red5, Nimble Streamer, nginx-rtmp-module and a few others.
例如Wowza,Red5,Nimble Streamer,nginx-rtmp-module和其他一些。
Most common protocols for sending data TO media server are RTMP and RTSP. 用于向媒体服务器发送数据的最常见协议是RTMP和RTSP。 Watching the video is done via several ones like RTMP (requires Flash installed), HLS (native for iOS, supported by Android 4+, working on some web-players), DASH (supported by some players).
观看视频是通过RTMP(需要安装Flash),HLS(适用于iOS,适用于Android 4+,适用于某些网络播放器),DASH(由某些播放器支持)等几种方式完成的。
No files needed, media server can process incoming live stream and handle connections from viewers. 无需文件,媒体服务器可以处理传入的实时流并处理来自查看者的连接。
Basically they use combination of mentioned technologies plus their own "know-how". 基本上他们使用上述技术的组合加上他们自己的“技术诀窍”。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.