-
Posts
34 -
Joined
-
Last visited
Profile Information
-
iDevice
iPhone X
-
iOS Version
8.1.2
-
Gender
Not Telling
-
Location
~
Recent Profile Visitors
824 profile views
Kau's Achievements
Newbie (1/14)
6
Reputation
-
woot
-
Hmm lel seems like they check it in intervalls oO Or maybe the server are lagging... In my test it works 6/10 times.... else kick
-
Hmm I think its half server side ( i got kicked while buying nyssa with hacked EP's). But I think Plasma and Battlepoints, Credits can be hacked.
-
you upload an .exe? Oo what do you wanna learn?
-
My current source..: #import "ViewController.h" #include "libavformat/avformat.h" #include "libswscale/swscale.h" #include "libswresample/swresample.h" #include "libavutil/pixdesc.h" @interface ViewController () { AVFormatContext *pFormatCtx; AVCodecContext *pAudioCodeCtx; int audioStream; BOOL isStop; } - (void)stopPlay; - (void)startPlay; @end @implementation ViewController @synthesize Label; //rtp://@239.35.10.1:10000 - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. self.Label.text = @"Nothing...."; [self.MyButton setTitle:@"Start" forState:UIControlStateNormal]; } - (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; // Dispose of any resources that can be recreated. } - (IBAction)Button:(id)sender { UIButton *btn = (UIButton *)sender; if([btn.currentTitle isEqualToString:@"Stop"]) { self.stopPlay; [btn setTitle:@"Play" forState:UIControlStateNormal]; }else{ self.startPlay; [btn setTitle:@"Stop" forState:UIControlStateNormal]; } } - (void)stopPlay { isStop = YES; avformat_network_deinit(); self.Label.text = @"stopppped"; } - (void)startPlay { isStop = NO; self.Label.text = @"starting"; avcodec_register_all(); av_register_all(); avformat_network_init(); NSString *const kTestPath = @"rtp://@239.35.10.4:10000"; NSString *pAudioInPath; AVCodec *pAudioCodec; // AVFrame *pFrame; pAudioInPath = kTestPath; //pFrame = avcodec_alloc_frame(); //Maybe simple NULL? if (avformat_open_input(&pFormatCtx, [pAudioInPath cStringUsingEncoding:NSASCIIStringEncoding], NULL, NULL) != 0) { NSLog(@"Could not open connection"); self.Label.text = @"Could not open connection"; return; } pAudioInPath = nil; if (avformat_find_stream_info(pFormatCtx, NULL) < 0) { NSLog(@"Could not find streaming information"); self.Label.text = @"Could not find streaming information"; return; } avformat_close_input(&pFormatCtx); av_dump_format(pFormatCtx, 0, [pAudioInPath UTF8String], 0); // Find the first audio stream if ((audioStream = av_find_best_stream(pFormatCtx, AVMEDIA_TYPE_AUDIO, -1, -1, &pAudioCodec, 0)) < 0) { NSLog(@"Could not find a audio streaming information"); self.Label.text = @"Could not find a audio streaming information"; return; } else { // Succeed to get streaming information NSLog(@"== Audio pCodec Information"); NSLog(@"name = %s",pAudioCodec->name); NSLog(@"sample_fmts = %d",*(pAudioCodec->sample_fmts)); if (pAudioCodec->profiles) { NSLog(@"Profile names = %@", pAudioCodec->profiles); } else { NSLog(@"Profile is Null"); } // Get a pointer to the codec context for the video stream pAudioCodeCtx = pFormatCtx->streams[audioStream]->codec; // Find out the decoder pAudioCodec = avcodec_find_decoder(pAudioCodeCtx->codec_id); // Open codec if (avcodec_open2(pAudioCodeCtx, pAudioCodec, NULL) < 0) { //stop self.Label.text = @"stoppped"; return; } } isStop = NO; } @end
-
Video / Audio streaming. (Real time stream protocol) - Live stream ( like vlc network stream)
-
YO IOSGOds, anyone know an working (ios 8.1+) lib for rtsp streaming? (Move this thread if its in wrong section :S)
-
YOu mean https://coolstar.org/theos.pdf? (cygwin??) I mean something like xcode on windows..
-
Is it normal that the app dont apear after respring? Is it possible to build on windows? (without theos, virtual osx or network osx)
-
Well thanks man, but I fixxed the error. NO WAY! The problem was that I have on top "include theos/makefiles/common.mk" but "ARCHS = armv7 arm64 TARGET = iphone:clang:8.1 ADDITIONAL_OBJCFLAGS = -fobjc-arc"needs to be first... no comment
-
Currently my theos is killing my mind.. My makefile: include theos/makefiles/common.mk ARCHS = armv7 arm64 TARGET = iphone:clang:8.1 ADDITIONAL_OBJCFLAGS = -fobjc-arc APPLICATION_NAME = TVTest TVTest_FILES = main.m RootViewController.mm TVTest_FRAMEWORKS = UIKit CoreGraphics include $(THEOS_MAKE_PATH)/application.mk Kaus-iPhone:~/tvtest root# make package install /var/root/tvtest/theos/makefiles/targets/Darwin-arm64/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang. /var/root/tvtest/theos/makefiles/targets/Darwin-arm64/iphone.mk:53: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries. Making all for application TVTest... Copying resource directories into the application wrapper... Compiling RootViewController.mm... RootViewController.mm:7:1: error: the current deployment target does not support automated __weak references Thanks
-
Hey guys, I need some help. How I can do this? Src: int(*old__ZN5Juego19AppBoosterAmountDtoC1Exx)(long i1, long i2); int __ZN5Juego19AppBoosterAmountDtoC1Exx(long i1, long i2) { return (i1,9999) } Edit: Its this or? int(*old__ZN5Juego19AppBoosterAmountDtoC1Exx)(long i1, long i2); int__ZN5Juego19AppBoosterAmountDtoC1Exx(long i1, long i2) { return old__ZN5Juego19AppBoosterAmountDtoC1Exx(i1,12); }
-
looks great
-
lets see how you do.