WunderRadio MMS streaming: Want to hear!
WunderRadio MMS streaming: Want to hear!
- Subject: WunderRadio MMS streaming: Want to hear!
- From: Emiliano Cenizo <email@hidden>
- Date: Mon, 02 May 2011 16:45:00 -0300
Hi there!
I have managed, finally, to build and import FFMpeg, LibMMS and
WunderRadio's "common".
the thing is... altough an stream is generated and im recibing bytes
(according to the NSLog console), i cant hear a thing!
whats missing?
My code is:
- (void)viewDidLoad {
MusicViewController *mvc = [[MusicViewController alloc] init];
PlaylistEntry *urlList = [[[PlaylistEntry alloc] init]autorelease];
urlList.altURL = [NSMutableArray arrayWithObjects:@"mms://****", nil];
[mvc setEntry: urlList];
[mvc play];
[mvc release];
[super viewDidLoad];
}
The console result is:
2011-05-02 11:11:34.828 RadioDelPlata[1901:5c03] we should remap the streams: 1
FFmpeg version SVN-r15006, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration: --disable-mmx --disable-mmx2 --disable-ssse3
libavutil 49.14. 0 / 49.14. 0
libavcodec 52.11. 0 / 52.11. 0
libavformat 52.25. 0 / 52.25. 0
libavdevice 52. 1. 0 / 52. 1. 0
built on Apr 28 2011 15:06:01, gcc: 4.2.1 (Apple Inc. build 5666) (dot 3)
2011-05-02 11:11:35.043 RadioDelPlata[1901:5c03] code_open - got
pointer: <StreamingAudioFFMPEGConverter: 0x858560>
chunk seq: 18435568
chunk seq: 18435570
chunk seq: 18435572
chunk seq: 18435574
chunk seq: 18435576
chunk seq: 18435578
chunk seq: 18435580
chunk seq: 18435583
chunk seq: 18435585
Input #0, asf, from 'code:0x858560':
Duration: N/A, start: 3331418.845000, bitrate: 168 kb/s
Stream #0.0: Audio: wmav2, 48000 Hz, stereo, s16, 128 kb/s
Stream #0.1: Audio: wmav2, 32000 Hz, stereo, s16, 40 kb/s
2011-05-02 11:11:37.609 RadioDelPlata[1901:5c03] code_open - got
pointer: <StreamingAudioFFMPEGConverter: 0x858560>
Output #0, aiff, to 'code:0x858560':
Stream #0.0: Audio: pcm_s16be, 32000 Hz, stereo, s16, 1024 kb/s
Stream mapping:
Stream #0.1 -> #0.0
source index: 1
Press [q] to stop encoding
chunk seq: 18435587
chunk seq: 18435589
chunk seq: 18435591
chunk seq: 18435593
chunk seq: 18435595
chunk seq: 18435597
chunk seq: 18435600
rebuffering 101 > 100
rebuffering 101 > 100
2011-05-02 11:11:40.262 RadioDelPlata[1901:5c03] found property 'ffmt'
2011-05-02 11:11:40.277 RadioDelPlata[1901:5c03] AudioDataFileFormat 'AIFF'
2011-05-02 11:11:40.296 RadioDelPlata[1901:5c03] found property 'dfmt'
2011-05-02 11:11:40.311 RadioDelPlata[1901:5c03] found property 'bcnt'
2011-05-02 11:11:40.331 RadioDelPlata[1901:5c03] AudioDataByteCount: 4294967288
2011-05-02 11:11:40.347 RadioDelPlata[1901:5c03] found property 'doff'
2011-05-02 11:11:40.364 RadioDelPlata[1901:5c03] found property 'pcnt'
2011-05-02 11:11:40.381 RadioDelPlata[1901:5c03] AudioDataPacketCount 1073741822
2011-05-02 11:11:40.399 RadioDelPlata[1901:5c03] found property 'redy'
2011-05-02 11:11:40.416 RadioDelPlata[1901:5c03] About to play audio
in 'lpcm' format
2011-05-02 11:11:40.442 RadioDelPlata[1901:5c03] called
AudioQueueNewOutput.. audioQueue: 86b3e0
2011-05-02 11:11:40.455 RadioDelPlata[1901:5c03] get info
kAudioFileStreamProperty_MagicCookieData failed
2011-05-02 11:11:40.473 RadioDelPlata[1901:5c03] fillBufferCount
(increasing) 2 fillBufferIndex 1
chunk seq: 18435602
chunk seq: 18435604
chunk seq: 18435606
chunk seq: 18435608
chunk seq: 18435610
chunk seq: 18435612
And keeps giving "chunk seqs"...
I was checking WunderRadio console as well, and there ir very little
difference... although WR streams perfectly the same MMS Url.
Any Idea of how can I hear some radio?
Thanks in advance!
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden