//
//  LiveStreamHandler.h
//  CyTV
//
//  Created by Andreas Junghans on 01.01.08.
//  Copyright 2008 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "ResponseHandler.h"
#import <semaphore.h>
#import <sys/mman.h>
#import <unistd.h>
#import <sys/types.h>
#import <sys/stat.h>


@interface LiveStreamHandler : ResponseHandler {
    uint64_t    _extensionWords;
    uint64_t    _currentPacketIndex;
    uint64_t    _bufferRounds;
    sem_t       *_streamSem;
    int         _streamShmFd;
    uint64_t    *_streamShm;
    off_t       _streamShmSize;
    BOOL        _fromTranscode;
    int         _noDataCount;
}

@end
