• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

EnableWebStream

Status
Not open for further replies.

akira_txt

Member
@flyth Ok y press iddqd in web interface i see this:

Code:
2015/10/29 15:06:23 12a0cd4d 75f42f29 INFO   Streaming

Now, how get the ogg link?
 

flyth

is reticulating splines
Staff member
Developer
Contributor
You should then be able to listen to it.
Generating the link requires some more actions and that has not yet been documented.
 

akira_txt

Member
@flyth
Oh ok, I want set that stream in a html5 player in my site. On the api can't get the token, always get False.

Code:
<?php

class sinusbot_stream {

public function token($instanceUuid){
        if(!sinusbot::checkLogin()){
            return false;
        }
        $result = sinusbot::sendRequest('bot/i/'.$instanceUuid.'/streamToken');
        if(sinusbot::checkResult($result, ':(!')){
            return true;
        }
        return false;
}       
}
 
Status
Not open for further replies.
Top