Page 1 of 1

initWithStream - NSInputStream

Posted: 08 Sep 2018 18:07
by linked
Hello,

I have notice the new method:

Code: Select all

- (instancetype)initWithStream:(NSInputStream *)stream;
I'm don't have found something about the difference with regular NSURL way.
I mostly use stream over rtsp, will it works better if i switch to this new method ?

There is some mention about use of NSURLSession in github but would be nice to know really what is behind or new.

Thanks

Re: initWithStream - NSInputStream

Posted: 17 Oct 2019 12:54
by vinu
How can i use this method? what is the use case of this method?