MistServer  2.5.3-Pro-19-gf5e75b1 ( Generic_64)
Functions | Variables
abst_test.cpp File Reference

Tests the bootstrap generation functions by comparing to a known good bootstrap. More...

#include <cstdlib>
#include <iostream>
#include <fstream>
#include <string>
#include <string.h>
#include <mist/mp4.h>

Functions

int main (int argc, char **argv)
 Generates a bootstrap equal to the above file, then compares. More...
 

Variables

unsigned char __data []
 This is a known good bootstrap retrieved from a wowza demo server. More...
 
unsigned int __data_len = 3278
 

Detailed Description

Tests the bootstrap generation functions by comparing to a known good bootstrap.

Function Documentation

int main ( int  argc,
char **  argv 
)

Generates a bootstrap equal to the above file, then compares.

Returns
Zero if they are equal (test success), other values otherwise.

Variable Documentation

unsigned char __data[]

This is a known good bootstrap retrieved from a wowza demo server.

unsigned int __data_len = 3278