English 中文(简体)
不打听听器
原标题:Not Playing RTSP live stream in iphone app

我与将吉大港山区纳入主流的工作进行了合作。 现在,我想与RTSP一起努力,生活流。

But not getting much tutorials or any sample code to get started.

还见。 Githublink of projecpageCam, but it is not being conducted so that I can see how to stream RTSP.

还通过Stackoverflow questions1,questions2 。 但仍然空白。

Till Now 我已经尝试,

NSURL *url = [NSURL URLWithString:@"rtsp://video3.americafree.tv/AFTVComedyH2641000.sdp"];
    //NSURL *url = [NSURL URLWithString:@"rtsp://10.2.216.228:554/2G/LIVE/STARPLUS_QCIF.sdp"];

    mpVC = [[MPMoviePlayerViewController alloc] initWithContentURL:url];
    [self.view addSubview:mpVC.view];

但不是玩弄。

任何有样本代码或详细资料的理论都是有益的。

问题回答

Maybe Iphone doesn t support rtsp streaming protocol.
You should try it by using third party libraries such as FFmpeg.
FFmpeg library has some feature that help you play rtsp streaming.

I ll post helpful url that specifies how to play mms streaming protocol using FFmpeg.





相关问题
Code sign Error

I have created a new iPhone application.I have two mach machines. I have created the certificate for running application in iPhone in one mac. Can I use the other mac for running the application in ...

ABPersonViewController Usage for displaying contact

Created a View based Project and added a contact to the AddressBook using ABAddressBookRef,ABRecordRef now i wanted to display the added contact ABPersonViewController is the method but how to use in ...

将音频Clips从Peter改为服务器

我不禁要问,那里是否有任何实例表明从Peit向服务器发送音响。 I m不关心电话或SIP风格的解决办法,只是一个简单的袖珍流程......

• 如何将搜查线重新定位?

我正试图把图像放在搜索条左边。 但是,问题始于这里,搜索条线不能重新布署。

热门标签