I compile the mobilevlckit on os x for ios simulator success.
Then , I use the Dropin-Player ios demo to play a rtsp stream success (changed the play url just).
I find the VLCKit have some intreface for stream rtsp to path , in the VLCStreamSession.h , but this interface not import in the MobileVLCKit.h ,
so I changed the MoblieVLCKit proj file to add some interface and .m file , compile success.
Then , after play the rtsp url, (it's success), I add a button named startstream and add some code for it's action :
_exportMedia = [_mediaplayer media];
[_streamSession setStreamOutput:[VLCStreamOutput streamOutputWithFilePath:testDirectory]];
[_streamSession setStreamOutput:[VLCStreamOutput rtpBroadcastStreamOutput]];
NSLog(@"Using %@", _streamSession.streamOutput );
[_streamSession setMedia:_exportMedia];
[_streamSession startStreaming];
NSLog(@"wpl debug: will startRecoder!222222");
compile success, run ok. but have any file add to the ios simulor's directory ?
have any suggest?