Page 1 of 1

how to play and recorde the rtsp stream in mobilevlckit?

Posted: 15 May 2014 05:39
by yayaxyupp
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?

Re: how to play and recorde the rtsp stream in mobilevlckit?

Posted: 15 May 2014 20:35
by yayaxyupp
any one have some method for this?

Re: how to play and recorde the rtsp stream in mobilevlckit?

Posted: 19 May 2014 18:33
by fkuehne
Recording and re-encoding is not supported by MobileVLCKit at this point. This is a Mac-only feature.

Re: how to play and recorde the rtsp stream in mobilevlckit?

Posted: 19 May 2014 19:43
by yayaxyupp
ok, i know it,but have any method for add this for mobilevlckit ?
I think the libvlc is support with enable some config item, is the --disable-sout or other ? if do this , I think maybe changed the MobileVLCKit's source .

is it right?

Re: how to play and recorde the rtsp stream in mobilevlckit?

Posted: 06 Feb 2015 19:47
by svenr
Is recording and re-encoding with MobileVLKit still not supported? Would love to be able to use this project and if these blockers are removed I will seriously do a happy dance!