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

Setting flashVer #17

Open
Skroopa opened this issue Mar 5, 2018 · 2 comments
Open

Setting flashVer #17

Skroopa opened this issue Mar 5, 2018 · 2 comments
Labels

Comments

@Skroopa
Copy link

Skroopa commented Mar 5, 2018

Hi, thank you for your work.
Is it possible to set flashVer using this lib?

@winlinvip
Copy link
Member

srs_rtmp_set_connect_args

@winlinvip
Copy link
Member

Sorry, it's not exposed yet:

srs_error_t SrsRtmpClient::connect_app(string app, string tcUrl, SrsRequest* r, bool dsu, SrsServerInfo* si)
{
    srs_error_t err = srs_success;
    
    // Connect(vhost, app)
    if (true) {
        SrsConnectAppPacket* pkt = new SrsConnectAppPacket();
        
        pkt->command_object->set("app", SrsAmf0Any::str(app.c_str()));
        pkt->command_object->set("flashVer", SrsAmf0Any::str("WIN 15,0,0,239"));

@winlinvip winlinvip reopened this Aug 14, 2018
@winlinvip winlinvip added the bug label Aug 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants