Skip to main content
User Community Portal
Solved

Disabling TTL tokens for MP4 assets


Forum|alt.badge.img

@Varsha Ahir How does one disable the TTL tokens?

 

As per the response in this post:

 

Best answer by Varsha Ahir

Varsha Ahir wrote:
Alan Kimrey wrote:

@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. 

View original
Did this topic help you find an answer to your question?

11 replies

Varsha Ahir
Forum|alt.badge.img+3
  • Community Manager
  • 78 replies
  • April 9, 2024

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.


Forum|alt.badge.img
  • Author
  • Participating Frequently
  • 5 replies
  • April 15, 2024

@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?


Andy Hartono
Forum|alt.badge.img+2

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
Forum|alt.badge.img+3
  • Community Manager
  • 78 replies
  • April 16, 2024
Alan Kimrey wrote:

@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
Forum|alt.badge.img+3
  • Community Manager
  • 78 replies
  • Answer
  • April 17, 2024
Varsha Ahir wrote:
Alan Kimrey wrote:

@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. 


Forum|alt.badge.img
  • Author
  • Participating Frequently
  • 5 replies
  • April 17, 2024
Varsha Ahir wrote:
Varsha Ahir wrote:
Alan Kimrey wrote:

@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!


Forum|alt.badge.img
  • Author
  • Participating Frequently
  • 5 replies
  • April 23, 2024

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?


Varsha Ahir
Forum|alt.badge.img+3
  • Community Manager
  • 78 replies
  • April 24, 2024

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. 


Forum|alt.badge.img
  • Participating Frequently
  • 12 replies
  • May 2, 2024

@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”: “”,

 

 


Forum|alt.badge.img
  • Participating Frequently
  • 12 replies
  • May 2, 2024

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


Andy Hartono
Forum|alt.badge.img+2
Frank Roberge wrote:

@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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings