mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-04 03:27:21 -05:00 
			
		
		
		
	Backport pull request #12017 from jellyfin/release-10.9.z
Overwrite supported codecs for livetv Original-merge: 2b789807474ec4e7d5f8837a6503a7684fa94778 Merged-by: Bond-009 <bond.009@outlook.com> Backported-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
		
							parent
							
								
									92dcf0c13b
								
							
						
					
					
						commit
						a1b9f90d7d
					
				@ -154,6 +154,11 @@ public static class StreamingHelpers
 | 
			
		||||
                // Some channels from HDHomerun will experience A/V sync issues
 | 
			
		||||
                streamingRequest.SegmentContainer = "ts";
 | 
			
		||||
                streamingRequest.VideoCodec = "h264";
 | 
			
		||||
                streamingRequest.AudioCodec = "aac";
 | 
			
		||||
                state.SupportedVideoCodecs = ["h264"];
 | 
			
		||||
                state.Request.VideoCodec = "h264";
 | 
			
		||||
                state.SupportedAudioCodecs = ["aac"];
 | 
			
		||||
                state.Request.AudioCodec = "aac";
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            var liveStreamInfo = await mediaSourceManager.GetLiveStreamWithDirectStreamProvider(streamingRequest.LiveStreamId, cancellationToken).ConfigureAwait(false);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user