Further to my previous email, you'll need the following class to run my
code:

//
//  TimerInvokee.m
//  openRTSP
//
//  Created by Jon Burgess on 22/10/10.
//  Copyright Jon Burgess. All rights reserved.
//

#import "TimerInvokee.h"

@implementation TimerInvokee

- (void)execute:(TaskFunc*)proc clientData:(void*)clientData
invoker:(NSTimer*)invoker
{
//  NSLog(@"Invoking task for timer: %u", invoker);
    proc(clientData);

    // We did an extra retain when scheduling, so release equally here now
that the timer
    // has fired to avoid leak.
    [invoker release];
}

@end


//
//  TimerInvokee.m
//  openRTSP
//
//  Created by Jon Burgess on 22/10/10.
//  Copyright 2010 Jon Burgess. All rights reserved.
//

#import "TimerInvokee.h"

@implementation TimerInvokee

- (void)execute:(TaskFunc*)proc clientData:(void*)clientData
invoker:(NSTimer*)invoker
{
//  NSLog(@"Invoking task for timer: %u", invoker);
    proc(clientData);

    // We did an extra retain when scheduling, so release equally here now
that the timer
    // has fired to avoid leak.
    [invoker release];
}

@end
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to