Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio Does Not Play #2

Open
theladyjaye opened this issue Jul 6, 2014 · 6 comments
Open

Audio Does Not Play #2

theladyjaye opened this issue Jul 6, 2014 · 6 comments

Comments

@theladyjaye
Copy link

There's just a comment in the source code stating that it should play at this point but no implementation.

@loretoparisi
Copy link

+1

@loretoparisi
Copy link

When pressing PLAY button having actually this log

           2014-07-26 00:29:52.638 MiniPlayer[7326:303] Perform playback for track with info: { bitrate: 320, codec: MP3, location: rtmp://edgecast-fmstream.mndigital.com, resource: mp3:/mp3/mn_mp3_13_08/downloads/a070/089/421/89421907_017?48d882e51ff49ca3806e4b63d90b926556349db16cecf61947a8ee994efbb8ec779a, type: audio_asset }

but no playback starts on the Mac.

In fact in the code I have

     // Get the stream info for the track
    [track getRTMPStreamWithCompletion:^(DSYRTMPObject *rtmpStreamInfo, NSError *error) {
    if( error )
    {
        NSLog(@"API error fetching track, refresh token");
    }
    else
    {

        // Perform playback with this RTMP stream's info
        NSLog(@"Perform playback for track with info: %@",rtmpStreamInfo);

       // what should happen here?

    }
}];

@bjtitus
Copy link

bjtitus commented Nov 6, 2014

@loretoparisi @aventurella If either of you are still interested in this, I've resurrected this project and added VLCKit as an RTMP Stream player. You can find my branch here: https://github.com/bjtitus/mac-miniplayer

@theladyjaye
Copy link
Author

@bjtitus thanks! I ended up doing the same thing re: VLCKit. Considering Apple doesn't have a single web service API exposed for developers, I am actually really curious how long the Beats API will actually last.

@sdgandhi
Copy link

I was working on this a long time ago and decided it was a ridiculous amount of work to implement an RTMP player. Glad @bjtitus found VLCKit.

@aventurella I think they just put it out for PR, and enabled private endpoints for select partners.

@syedhali Of course I would be curious to know what library the beats music app for iOS uses to do RTMP.

@loretoparisi
Copy link

@bjtitus amazing great work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants