Skip to content

Commit

Permalink
⚡️ discontinuity receivedを無視するように
Browse files Browse the repository at this point in the history
受信映像が破損しているときに大量に出て負荷が大きいため
  • Loading branch information
ci7lus committed Jan 16, 2022
1 parent bad458a commit 1f4fd94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/components/contentPlayer/VideoPlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,7 @@ export const CoiledVideoPlayer: React.VFC<{}> = memo(() => {
break
case "received_first_picture":
case "es_out_program_epg":
case "PMTCallBack_called_for_program":
case "discontinuity_received_0": {
case "PMTCallBack_called_for_program": {
// ほどほどの頻度
console.debug(message)
setAudioTracks(window.Preload.webchimera.getAudioTracks())
Expand Down
3 changes: 1 addition & 2 deletions src/utils/vlc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export const VLCLogFilter = (s: string) => {
s.startsWith("picture might be displayed late") ||
s.startsWith("More than") ||
s.startsWith("buffer too late") ||
s.startsWith("discontinuity received 0") ||
// gnutls
s.startsWith("in DATA (0x00) frame of") ||
s.startsWith("out WINDOW_UPDATE (0x08) frame ")
Expand Down Expand Up @@ -74,8 +75,6 @@ export const VLCLogFilter = (s: string) => {
return { category: "es_out_program_epg" } as const
} else if (s.startsWith("PMTCallBack called for program")) {
return { category: "PMTCallBack_called_for_program" } as const
} else if (s.startsWith("discontinuity received 0")) {
return { category: "discontinuity_received_0" } as const
} else if (s.startsWith("end of stream")) {
return { category: "end_of_stream" } as const
} else if (s.startsWith("EOF reached")) {
Expand Down

0 comments on commit 1f4fd94

Please sign in to comment.