Giter Club home page Giter Club logo

Comments (12)

aminamos avatar aminamos commented on June 1, 2024

@VirajDeshwal have you added a card to your account and tried with a non-test stream? If you'd like to have a private conversation with support, submit a ticket here: https://www.mux.com/support

from mux-python.

VirajDeshwal avatar VirajDeshwal commented on June 1, 2024

@VirajDeshwal have you added a card to your account and tried with a non-test stream? If you'd like to have a private conversation with support, submit a ticket here: https://www.mux.com/
No. I am trying to test the live stream with a demo account.

from mux-python.

VirajDeshwal avatar VirajDeshwal commented on June 1, 2024

Resolved after upgrading the account. Thank you

from mux-python.

trile127 avatar trile127 commented on June 1, 2024

I get an error on this, on creating a test stream. I dont want that field in it at all but it's coming out in the POST request. I want to be able to make a test LiveStream. What's the work around? I had to downgrade the version back to 3.3.1

from mux-python.

philcluff avatar philcluff commented on June 1, 2024

Hey @trile127, apologies for the issue here, we're taking a deeper look now.

from mux-python.

VirajDeshwal avatar VirajDeshwal commented on June 1, 2024

@trile127 could you please post the response you are getting. And what field is unwanted ?

from mux-python.

trile127 avatar trile127 commented on June 1, 2024
new_asset_settings = mux_python.CreateAssetRequest(playback_policy=[mux_python.PlaybackPolicy.PUBLIC])
create_live_stream_request = mux_python.CreateLiveStreamRequest(
            playback_policy=[mux_python.PlaybackPolicy.PUBLIC],
            new_asset_settings=new_asset_settings,
            test=True,
        )
create_live_stream_response: LiveStreamResponse = live_api.create_live_stream(create_live_stream_request)

And my error is like this:

mux_python.exceptions.ApiException: (400)
Reason: Bad Request
HTTP response headers: HTTPHeaderDict({'Cache-Control': 'max-age=0, private, must-revalidate', 'Content-Length': '112', 'Content-Type': 'application/json; charset=utf-8', 'Date': 'Tue, 26 Jul 2022 22:44:38 GMT', 'Server': 'Mux API Server v1.161.6', 'X-Request-Id': 'FwWCdYY-C3IdRJoAnXCD'})
HTTP response body: {"error":{"type":"invalid_parameters","messages":["Cannot use max continuous duration with test live streams"]}}

For mux-python 3.6.0

from mux-python.

VirajDeshwal avatar VirajDeshwal commented on June 1, 2024

@trile127 i had the same issue. Add the credit card in your account and this should fix your issue.

from mux-python.

philcluff avatar philcluff commented on June 1, 2024

Just to clarify here, this is an issue on Mux's end, and we're making a change to ensure that test mode stays available when using this SDK.

Thanks.

from mux-python.

jaredsmith avatar jaredsmith commented on June 1, 2024

The change to our system has been implemented -- as I understand it, if you have both max_continuous_duration and a test stream, the Mux API will now essentially override the max_continuous_duration and set it to 300 seconds.

Could you please try again and let me know if you're still having issues?

from mux-python.

trile127 avatar trile127 commented on June 1, 2024

Fixed, thank you!

from mux-python.

VirajDeshwal avatar VirajDeshwal commented on June 1, 2024

from mux-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.