Skip to content

Instantly share code, notes, and snippets.

@elliotrock
Last active October 26, 2016 05:37
Show Gist options
  • Save elliotrock/735f0191d2fb4b3328bb to your computer and use it in GitHub Desktop.
Save elliotrock/735f0191d2fb4b3328bb to your computer and use it in GitHub Desktop.
//
// PandaStreamServices.h
// BEAMS
//
// Created by Elliot Rock on 1/03/2015.
// Copyright (c) 2015 Pocketry Pty Ltd. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "AFNetworking.h"
@interface PandaStreamServices : NSObject
{
NSString *cloud_id;
NSString *access_key;
NSString *secret_key;
NSString *signature;
NSString *timeStamp;
}
-(void) uploadPandaVideoForUrl:(NSString*)filePath forName:(NSString*) fileName;
-(NSString *)signWithKey:(NSString *)key usingData:(NSString *)data;
-(NSString*) getTimestamp;
-(NSString*) urlEncodeString:(NSString*) value;
-(void) didFailUploadRetry;
-(void) removeVideoData;
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment