@stinkycomputing/web-live-player 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -48,7 +48,7 @@ export interface ICaptureSink {
48
48
  */
49
49
  export interface VideoStreamConfig {
50
50
  /** Video codec type */
51
- codec: sesame.v1.wire.CodecType;
51
+ codec: sesame.v1.common.CodecType;
52
52
  /** Video width */
53
53
  width: number;
54
54
  /** Video height */
@@ -63,7 +63,7 @@ export interface VideoStreamConfig {
63
63
  */
64
64
  export interface AudioStreamConfig {
65
65
  /** Audio codec type */
66
- codec: sesame.v1.wire.CodecType;
66
+ codec: sesame.v1.common.CodecType;
67
67
  /** Sample rate in Hz */
68
68
  sampleRate: number;
69
69
  /** Number of channels */
@@ -5,7 +5,7 @@ export { CodecType };
5
5
  * Video codec configuration options
6
6
  */
7
7
  export interface VideoEncoderOptions {
8
- codec: sesame.v1.wire.CodecType;
8
+ codec: sesame.v1.common.CodecType;
9
9
  width?: number;
10
10
  height?: number;
11
11
  bitrate?: number;
@@ -17,7 +17,7 @@ export interface VideoEncoderOptions {
17
17
  * Audio codec configuration options
18
18
  */
19
19
  export interface AudioEncoderOptions {
20
- codec: sesame.v1.wire.CodecType;
20
+ codec: sesame.v1.common.CodecType;
21
21
  sampleRate?: number;
22
22
  channels?: number;
23
23
  bitrate?: number;
@@ -109,12 +109,12 @@ export interface CaptureEvents {
109
109
  /**
110
110
  * Convert CodecType to WebCodecs codec string
111
111
  */
112
- export declare function codecTypeToString(codec: sesame.v1.wire.CodecType): string;
112
+ export declare function codecTypeToString(codec: sesame.v1.common.CodecType): string;
113
113
  /**
114
114
  * Check if a codec is a video codec
115
115
  */
116
- export declare function isVideoCodec(codec: sesame.v1.wire.CodecType): boolean;
116
+ export declare function isVideoCodec(codec: sesame.v1.common.CodecType): boolean;
117
117
  /**
118
118
  * Check if a codec is an audio codec
119
119
  */
120
- export declare function isAudioCodec(codec: sesame.v1.wire.CodecType): boolean;
120
+ export declare function isAudioCodec(codec: sesame.v1.common.CodecType): boolean;