Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use cocoaHttpServer to stream video #30

Closed
Yosifz8 opened this issue Apr 5, 2012 · 2 comments
Closed

Use cocoaHttpServer to stream video #30

Yosifz8 opened this issue Apr 5, 2012 · 2 comments

Comments

@Yosifz8
Copy link

Yosifz8 commented Apr 5, 2012

Hi i am using your project to download a file and stream it to a client that made a request.

i use this method:

  • (NSObject *)httpResponseForMethod:(NSString *)method URI:(NSString *)path

and add to it :
NSData *tmpData = [NSData dataWithContentsOfFile:filePath];
return [[[HTTPDataResponse alloc] initWithData:tmpData] autorelease];

i have a problem that i want to send this file before i finish to download it to the device and while i download it it will keep of sending the rest of the file.

it is possible with cocoahttpserver?

@dodikk
Copy link

dodikk commented Apr 5, 2012

CocoaLumberjack is actually a logging framework.
I think, you've picked a wrong project to post your question

@robbiehanson
Copy link
Contributor

Please post issue to CocoaHTTPServer:
https://github.com/robbiehanson/CocoaHTTPServer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants