Skip to content

Commit

Permalink
Fixing backwards compatibility for VideoCodecoParamLevelTypes. We see…
Browse files Browse the repository at this point in the history
…med to have messed up the naming there
  • Loading branch information
Supereg committed Apr 28, 2020
1 parent db2be06 commit 5e36254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/camera/RTPStreamManagement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ export class RTPStreamManagement {
* @deprecated won't be updated anymore. Please use the H264Level const enum above. Scheduled to be removed in 2021-06.
*/
// @ts-ignore
static VideoCodecParamLevelTypes = H264Level;
static VideoCodecParamLevelTypes = Object.freeze({ TYPE3_1: 0, TYPE3_2: 1, TYPE4_0: 2 });

private readonly delegate: CameraStreamingDelegate;
readonly service: CameraRTPStreamManagement; // must be public for backwards compatibility
Expand Down

0 comments on commit 5e36254

Please sign in to comment.