Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into benjamin/transfer_sip
Browse files Browse the repository at this point in the history
  • Loading branch information
biglittlebigben committed Sep 19, 2024
2 parents d2b1cc7 + 0aee0ca commit 540d253
Show file tree
Hide file tree
Showing 20 changed files with 775 additions and 707 deletions.
6 changes: 0 additions & 6 deletions .changeset/few-tigers-live.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/orange-apricots-switch.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/red-stingrays-relax.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/sour-carrots-burn.md

This file was deleted.

16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# github.com/livekit/protocol

## 1.22.0

### Minor Changes

- Update SIP protocol. Pass headers, project ID and hostname. - [#805](https://github.com/livekit/protocol/pull/805) ([@dennwc](https://github.com/dennwc))

### Patch Changes

- Add generated flag to ChatMessage - [#813](https://github.com/livekit/protocol/pull/813) ([@lukasIO](https://github.com/lukasIO))

- Add dedicated chat message definition - [#785](https://github.com/livekit/protocol/pull/785) ([@lukasIO](https://github.com/lukasIO))

- Update @bufbuild/protobuf dependency - [#800](https://github.com/livekit/protocol/pull/800) ([@lukasIO](https://github.com/lukasIO))

- Metrics server side timestamp - [#806](https://github.com/livekit/protocol/pull/806) ([@boks1971](https://github.com/boks1971))

## 1.21.0

### Minor Changes
Expand Down
810 changes: 410 additions & 400 deletions livekit/livekit_models.pb.go

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions livekit/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ type ParticipantKey struct {
RoomKey
Identity ParticipantIdentity
}
type JobID string
type DispatchID string
type AgentName string

type stringTypes interface {
ParticipantID | RoomID | TrackID | ParticipantIdentity | ParticipantName | RoomName | ConnectionID | NodeID
Expand Down Expand Up @@ -122,3 +125,8 @@ func marshalProto(o proto.Message) (map[string]interface{}, error) {

return m, nil
}

func IsJobType(jobType JobType) bool {
_, ok := JobType_name[int32(jobType)]
return ok
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "github.com/livekit/protocol",
"private": true,
"version": "1.21.0",
"version": "1.22.0",
"scripts": {
"changeset": "changeset",
"ci:publish": "pnpm --filter @livekit/protocol run build && changeset publish"
Expand Down
16 changes: 16 additions & 0 deletions packages/javascript/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# @livekit/protocol

## 1.22.0

### Minor Changes

- Update SIP protocol. Pass headers, project ID and hostname. - [#805](https://github.com/livekit/protocol/pull/805) ([@dennwc](https://github.com/dennwc))

### Patch Changes

- Add generated flag to ChatMessage - [#813](https://github.com/livekit/protocol/pull/813) ([@lukasIO](https://github.com/lukasIO))

- Add dedicated chat message definition - [#785](https://github.com/livekit/protocol/pull/785) ([@lukasIO](https://github.com/lukasIO))

- Update @bufbuild/protobuf dependency - [#800](https://github.com/livekit/protocol/pull/800) ([@lukasIO](https://github.com/lukasIO))

- Metrics server side timestamp - [#806](https://github.com/livekit/protocol/pull/806) ([@boks1971](https://github.com/boks1971))

## 1.21.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/javascript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@livekit/protocol",
"version": "1.21.0",
"version": "1.22.0",
"description": "",
"type": "module",
"main": "src/index.js",
Expand Down
Loading

0 comments on commit 540d253

Please sign in to comment.