Removed support for H265 for IOs browser (they don't support our profile id)
parent
c2bfa7b318
commit
64a28ffa4c
|
@ -48,7 +48,7 @@ export class SdpProcessor {
|
|||
rate: 90000,
|
||||
rtcpFb: [ "nack", "nack pli", "ccm fir", "transport-cc" ],
|
||||
},
|
||||
{
|
||||
window.detectedBrowser.name.indexOf("ios") === -1 && window.detectedBrowser.name !== "safari" ? {
|
||||
payload: H264_PAYLOAD_TYPE,
|
||||
codec: "H264",
|
||||
rate: 90000,
|
||||
|
@ -60,7 +60,7 @@ export class SdpProcessor {
|
|||
"profile-level-id": "42001f",
|
||||
"max-fr": 30,
|
||||
}
|
||||
},
|
||||
} : undefined,
|
||||
];
|
||||
|
||||
private rtpRemoteChannelMapping: {[key: string]: number};
|
||||
|
@ -150,7 +150,11 @@ export class SdpProcessor {
|
|||
media.rtcpFb = [];
|
||||
media.rtcpFbTrrInt = [];
|
||||
|
||||
for(let codec of (media.type === "audio" ? this.kAudioCodecs : this.kVideoCodecs)) {
|
||||
for(const codec of (media.type === "audio" ? this.kAudioCodecs : this.kVideoCodecs)) {
|
||||
if(!codec) {
|
||||
continue;
|
||||
}
|
||||
|
||||
media.rtp.push({
|
||||
payload: codec.payload,
|
||||
codec: codec.codec,
|
||||
|
|
Loading…
Reference in New Issue