Skip to main content

@Varsha Ahir How does one disable the TTL tokens?

 

As per the response in this post:

 

Hi @Alan Kimrey you can contact Support (bc_support@brightcove.com) and can either request that the TTL token expiry time be increased (up to 1 year) or if you don't really care about having TTL tokens on your MP4 files, support can just turn it off for MP4s and still keep tokens for other things like HLS manifests. Recently, for one of our customers, we just turned off token generation for MP4s and that fixed the issue with Spotify and the MRSS feed.


@Varsha Ahir I’ve just been informed by the Support team that they cannot, in fact, turn off the generation of tokens for MP4 files. Do you have more context from the Spotify accommodation that you reference so I could potentially escalate the request?


The other alternative if you really want to use a static URL is by using JWT token

https://general.support.brightcove.com/developer/create-json-web-token.html

For example:

https://edge.api.brightcove.com/playback/v1/accounts/{{account_id}}/videos/{{video_id}}/master.m3u8?bcov_auth={jwt}
https://edge.api.brightcove.com/playback/v1/accounts/{{account_id}}/videos/{{video_id}}/thumbnail.jpg?bcov_auth={jwt}
 

The static URL is clean, you can set with or without expiry time. Please use it wisely and take note on the security point of view as well, since JWT token cannot be disabled or revoked.

 

However, if you still need to disable the TTL instead, it can only be done with BYOCDN (Bring Your Own CDN) approach. 
 


@Varsha Ahir I’ve just been informed by the Support team that they cannot, in fact, turn off the generation of tokens for MP4 files. Do you have more context from the Spotify accommodation that you reference so I could potentially escalate the request?

Hi @Alan Kimrey! Give me sometime to investigate this. I am in touch with that support rep to dig deeper into this. Keep you posted. 


@Varsha Ahir I’ve just been informed by the Support team that they cannot, in fact, turn off the generation of tokens for MP4 files. Do you have more context from the Spotify accommodation that you reference so I could potentially escalate the request?

Hi @Alan Kimrey! Give me sometime to investigate this. I am in touch with that support rep to dig deeper into this. Keep you posted. 

Hi @Alan Kimrey, I come bearing good news. Your ticket has been escalated to our Tier 2 support team who should be able to disable the token for you. Javier from our support team will be in touch to assist you. Hope this was helpful. 


@Varsha Ahir I’ve just been informed by the Support team that they cannot, in fact, turn off the generation of tokens for MP4 files. Do you have more context from the Spotify accommodation that you reference so I could potentially escalate the request?

Hi @Alan Kimrey! Give me sometime to investigate this. I am in touch with that support rep to dig deeper into this. Keep you posted. 

Hi @Alan Kimrey, I come bearing good news. Your ticket has been escalated to our Tier 2 support team who should be able to disable the token for you. Javier from our support team will be in touch to assist you. Hope this was helpful. 

Thank you, @Varsha Ahir!


I’ve created a Syndication MRSS feed for a subset of our media. The endpoint includes:

<media:group>
<media:content url="https://house-fastly-unsigned-us-east-1-prod.brightcovecdn.com/media/v1/pmp4/static/clear/xxxxxxxxxxx/xxxxxxxxxxx/xxxxxxxxxxx/main.mp4" type="video/mp4" medium="video" expression="full" bitrate="127000" duration="1828"/>
<media:content url="http://house-fastly-unsigned-us-east-1-prod.brightcovecdn.com/media/v1/pmp4/static/clear/xxxxxxxxxxx/xxxxxxxxxxx/xxxxxxxxxxx/main.mp4" type="video/mp4" medium="video" expression="full" bitrate="127000" duration="1828"/>
</media:group>

I’m unsure what’s causing that. Is there a way to adjust this so it returns only the https (the first) url?


Hi @Alan Kimrey this is a tricky one and may involve  further investigation. It’s best to reply to Tony in your existing support ticket to understand this better. 


@Alan Kimrey Hi, what type of syndication are you creating?  I’m using the “type” : “advanced”. 

Check your values for 

“type”: “advanced”,

“include_all_content”: false,

“include_filter”: “tags:podcast_feed”    -- replace podcast_feed with the tags you want to use

“keywords”: “”,

 

 


@Andy Hartono Can static urls be used with Syndication feeds ? Thanks!


@Andy Hartono Can static urls be used with Syndication feeds ? Thanks!

I dont think it can be used with Syndication feeds. You need to create your own custom feeds. 


Reply