mux-ruby
mux-ruby copied to clipboard
create_asset_request do not accept passthrough
Hi,
When creating a live_stream, I set a passthrough, it's work correctly except that asset created do not have the passthrough (even if the doc say so).
But when specify passthrough in create_asset_request like
MuxRuby::CreateAssetRequest.new({
playback_policy: [MuxRuby::PlaybackPolicy::PUBLIC],
passthrough: @passthrough
})
and also specify it in CreateLiveStreamRequest
MuxRuby::CreateLiveStreamRequest.new({
playback_policy: [MuxRuby::PlaybackPolicy::PUBLIC],
new_asset_settings: new_asset_settings,
passthrough: @passthrough
})
I got the following error message: "The field "new_asset_settings.passthrough" should be provided as "passthrough" and will returned for both the live stream and its assets."
So how I can get passthrough in asset produced by a live_stream ?