how to play and recorde the rtsp stream in mobilevlckit?

iOS, iPad, iPhone, tvOS specific usage questions
yayaxyupp
New Cone
New Cone
Posts: 4
Joined: 15 May 2014 05:17

how to play and recorde the rtsp stream in mobilevlckit?

Postby yayaxyupp » 15 May 2014 05:39

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?

yayaxyupp
New Cone
New Cone
Posts: 4
Joined: 15 May 2014 05:17

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

Postby yayaxyupp » 15 May 2014 20:35

any one have some method for this?

fkuehne
Developer
Developer
Posts: 7264
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

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

Postby fkuehne » 19 May 2014 18:33

Recording and re-encoding is not supported by MobileVLCKit at this point. This is a Mac-only feature.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

yayaxyupp
New Cone
New Cone
Posts: 4
Joined: 15 May 2014 05:17

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

Postby yayaxyupp » 19 May 2014 19:43

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?

svenr
New Cone
New Cone
Posts: 1
Joined: 06 Feb 2015 19:44

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

Postby svenr » 06 Feb 2015 19:47

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!


Return to “VLC for iOS, iPadOS and Apple TV”

Who is online

Users browsing this forum: No registered users and 19 guests