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,
|
rate: 90000,
|
||||||
rtcpFb: [ "nack", "nack pli", "ccm fir", "transport-cc" ],
|
rtcpFb: [ "nack", "nack pli", "ccm fir", "transport-cc" ],
|
||||||
},
|
},
|
||||||
{
|
window.detectedBrowser.name.indexOf("ios") === -1 && window.detectedBrowser.name !== "safari" ? {
|
||||||
payload: H264_PAYLOAD_TYPE,
|
payload: H264_PAYLOAD_TYPE,
|
||||||
codec: "H264",
|
codec: "H264",
|
||||||
rate: 90000,
|
rate: 90000,
|
||||||
|
@ -60,7 +60,7 @@ export class SdpProcessor {
|
||||||
"profile-level-id": "42001f",
|
"profile-level-id": "42001f",
|
||||||
"max-fr": 30,
|
"max-fr": 30,
|
||||||
}
|
}
|
||||||
},
|
} : undefined,
|
||||||
];
|
];
|
||||||
|
|
||||||
private rtpRemoteChannelMapping: {[key: string]: number};
|
private rtpRemoteChannelMapping: {[key: string]: number};
|
||||||
|
@ -150,7 +150,11 @@ export class SdpProcessor {
|
||||||
media.rtcpFb = [];
|
media.rtcpFb = [];
|
||||||
media.rtcpFbTrrInt = [];
|
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({
|
media.rtp.push({
|
||||||
payload: codec.payload,
|
payload: codec.payload,
|
||||||
codec: codec.codec,
|
codec: codec.codec,
|
||||||
|
|
Loading…
Reference in New Issue