1 parent
2eb0d9e35e
commit
c6a4c8aea2
350 files changed
+12837
-4509
No files matched your search
@@ -5,8 +5,8 @@ export const getTechnologyForVideoRTC = (
|
||||
element: VideoRTC,
|
||||
): MediaTechnology[] | undefined => {
|
||||
const tech = [
|
||||
...(!!element.pc ? ['webrtc'] : []),
|
||||
...(!element.pc && element.mseCodecs ? ['mse', 'hls'] : []),
|
||||
...(!!element.pc ? ['webrtc' as const] : []),
|
||||
...(!element.pc && element.mseCodecs ? ['mse' as const, 'hls' as const] : []),
|
||||
];
|
||||
return tech.length ? tech : undefined;
|
||||
};
|
||||
Reference in new issue
Block a user