VLC Integration guide

Source: Internet
Author: User


Add Libmobilevlckit
Add Library
Libstdc++
Libiconv
libbz2
Security
Quartzcore
Coretext
Cfnetwork
Opengles
Audiotoolbox
Modify the C + + compiler to stdc++
?
Add Reference Path Headersearch Paths to/users/fq/desktop/vlcdemo/vlcdemo/libmobilevlckit/include
?

Replace the/users/fq/desktop/vlcdemo_1414 with $ (srcroot)

The specific format is $ (srcroot)/project name/libmobilevlckit/include

Join Agent Vlcmediaplayerdelegate

Add header file #import <MobileVLCKit/MobileVLCKit.h>

The file used is changed to. MM Support C + + compilation




http://192.168.112.147/share_1414/1414.flv

http:\/\/v247.56.com\/rtsegment\/index\/500001.m3u8?t=z4q9ephbyy9wxpo8qxa84q&e=1406807083&r=1315369414
Playview=[[uiview alloc]initwithframe:cgrectmake (0, 64, 320, 200)];
[Self.view Addsubview:playview];
_mediaplayer=[[vlcmediaplayer Alloc]init];
_mediaplayer.delegate=self;
_mediaplayer.drawable=playview;

_mediaplayer.media = [Vlcmedia mediawithurl:[nsurl Urlwithstring:result]];
[_mediaplayer play];

VLC Integration guide

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.