Comments (12)
@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 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.
Resolved after upgrading the account. Thank you
from mux-python.
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.
Hey @trile127, apologies for the issue here, we're taking a deeper look now.
from mux-python.
@trile127 could you please post the response you are getting. And what field is unwanted ?
from mux-python.
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.
@trile127 i had the same issue. Add the credit card in your account and this should fix your issue.
from mux-python.
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.
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.
Fixed, thank you!
from mux-python.
from mux-python.
Related Issues (20)
- Direct Upload Signed URL PUT failing with CORS error HOT 2
- how I can change the value of verify_ssl? HOT 21
- How to enable MP4 on already created asset HOT 8
- Add Mux webhook verification HOT 6
- Realtime engagement counts not working properly for views HOT 1
- Create .mp4 stream instead of m3u8
- Change "hls_segment_type" from .ts to .fmp4 HOT 1
- Lower video resolution before download HOT 1
- Add playback policy to new clip example?
- Update `list exports` example
- Additional cases where UnauthorizedException may raise? HOT 2
- Documentation for creating audio-only assets HOT 2
- Add `asset_id` to `video_views_api.get_video_view` response HOT 2
- Upload local file(not from URL) and get playbackID as response
- Could we add license information to PyPI metadata? HOT 2
- DeprecationWarning: HTTPResponse.getheaders() is deprecated and will be removed in urllib3 v2.1.0 HOT 3
- Uploading asset in Python is not working
- How to fix "Video is not currently available The live stream or video files are not ready yet." ? HOT 1
- Example of how to upload a video HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mux-python.