Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
cpp
cpp
...
MPMoviePlayerController *player = [[[MPMoviePlayerController alloc] initWithContentURL: theURL] autorelease];
...

adapter = [[MediaPlayerAdapter alloc] adapter:player];

NSMutableDictionary * atts = [[NSMutableDictionary alloc] init];
[atts setObject:@"iOS/teststream" forKey:@"stream"]; // mandatory
// [atts setObject:@"4711" forKey:@"cq"]; //optional see implementation guideline
// [atts setObject:@"mobile" forKey:@"ct"]; //optional see implementation guideline/
Stream *stream = [spring track:adapter atts:atts];
[atts release];
...

...