简体   繁体   English

如何在iPhone中创建RTSP播放器

[英]How to create RTSP player in iPhone

Is it possible to view video stream (H.264 live feed) over RTP/RTSP in native iPhone ? 是否可以在原生iPhone中通过RTP / RTSP查看视频流(H.264实时馈送)? If not,is it possible to write an application and then I have rtsp url how to get streaming video in iPhone. 如果没有,是否可以编写一个应用程序然后我有rtsp url如何在iPhone中获取流媒体视频。

"rtsp://192.168.2.148:1935/live/test.stream" “RTSP://192.168.2.148:1935 /现场/ test.stream”

I got code Streaming Video in Android using above url, but now I tried iPhone I don't know which frameworks are used and how to get Video Streaming please give me any Idea 我使用上面的url在Android中获得了代码Streaming Video,但是现在我尝试了iPhone我不知道使用了哪些框架以及如何获取Video Streaming请给我任何想法

I have the same issue,and I found an excellent ffmpeg player for iOS, IJKPlayer . 我有同样的问题,我找到了一个优秀的iOS版IfKPlayer ffmpeg播放器。 You can change the build script in config/module.sh to support RTSP. 您可以在config / module.sh中更改构建脚本以支持RTSP。 If you want to play rtsp real time stream.I have already fock another version IJKPlayer to support that. 如果你想玩rtsp实时流。我已经fock另一个版本IJKPlayer来支持它。

Yeah Sure. 当然可以。 You can do RTSP stream in iPhone but with the help of some libraries. 您可以在iPhone中执行RTSP流,但需要一些库的帮助。 You can use the DFURTSPPlayer for that purpose 您可以将DFURTSPPlayer用于此目的

https://github.com/durfu/DFURTSPPlayer https://github.com/durfu/DFURTSPPlayer

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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