Force client to transcode. Looking for ideas.

Since my clients are now all accessing PMS via a reverse proxy, I have the ability to modify responses from the PMS server on the fly.

 

What I'd like to do is figure out a way to twiddle with the XML response for a video's metadata to force any client to request a transcode rather than attempt direct play.

 

Take the following example:

<?xml version="1.0" encoding="UTF-8"?>

   
      
         
            
            
         
      
      
   

What could be modified in that response to force any client to request a transcode rather than direct play?  Would pushing refFrames up to some insane value trigger it, or would some clients ignore that?

 

(The end goal here is to limit the bit rate that clients can stream videos.  This is just the first step to doing that.)

You can just edit all of the client profiles to force them to transcode, would probably be much easier 

like here is the chromecast profile

<?xml version="1.0" encoding="utf-8"?>

  
  
    
      
    
    
      
    
    
      
    
    
    
  
  
    
      
        
          
          
          
          
        
      
    
    
     
       
         
         
         
         
       
     
    
  
  
    
    
    
    
  
  
    
      
        
      
    
  
  
    
      
        
        
        
        
      
    
    
      
        
        
      
    
    
      
        
        
      
    
    
      
        
        
      
    
  

Thanks for the suggestion.

However, it looks that approach wouldn't allow the reverse proxy to dynamically decide if/when a forced transcode is used, correct?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.