File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -562,7 +562,12 @@ export default class JingleSessionPC extends JingleSession {
562562 const msid = $ ( source )
563563 . find ( '>parameter[name="msid"]' )
564564 . attr ( 'value' ) ;
565- const videoType = $ ( source ) . attr ( 'videoType' ) ;
565+ let videoType = $ ( source ) . attr ( 'videoType' ) ;
566+
567+ // If the videoType is DESKTOP_HIGH_FPS for remote tracks, we should treat it as DESKTOP.
568+ if ( videoType === VideoType . DESKTOP_HIGH_FPS ) {
569+ videoType = VideoType . DESKTOP ;
570+ }
566571
567572 if ( sourceDescription . has ( sourceName ) ) {
568573 sourceDescription . get ( sourceName ) . ssrcList ?. push ( ssrc ) ;
Original file line number Diff line number Diff line change @@ -10,5 +10,10 @@ export enum VideoType {
1010 /**
1111 * The desktop video type.
1212 */
13- DESKTOP = 'desktop'
13+ DESKTOP = 'desktop' ,
14+
15+ /**
16+ * The high fps desktop video type.
17+ */
18+ DESKTOP_HIGH_FPS = 'desktop_high_fps'
1419}
You can’t perform that action at this time.
0 commit comments