-
Notifications
You must be signed in to change notification settings - Fork 624
Decouple vision agents from getstream #330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
db20e4a
Move SFU events generation from `core` to `plugins/getstream`
dangusev 77462b1
EventManager.register(): accept multiple classes at once; tests cleanup
dangusev e00b92b
EdgeTransport refactoring
dangusev 86869bb
Fix ruff
dangusev c2879eb
Fix eventmanager
dangusev 9e819a6
Fix test name
dangusev 1f19fc5
Add core.edge.Call protocol
dangusev 18487aa
Move getstream events re-export to plugins/getstream
dangusev 10e566f
agents.py cleanup
dangusev 296aab5
Audio tracks cleanup
dangusev cb96d51
Type the media tracks in EdgeTransport
dangusev eb3f155
Replace the Stream's TrackType with a local class.
dangusev 1b73a17
Use generic Participant instead of Stream's protobuf type
dangusev b57e1e1
Use generic Participant in TTS and tracks
dangusev 3746941
Detach Agent from StreamEdge
dangusev 43e5ff7
Update getstream
dangusev 93903a6
Replace generic tracks with generic Call type in EdgeTransport
dangusev 6836503
Fix `EdgeTransport.join()` signature
dangusev 48052a4
`_to_core_participant` refactoring
dangusev be4e763
Update mypy and fix type-ignores
dangusev b61aaab
`EdgeTransport`: remove `agent_user_id` param
dangusev 23babf7
`Agent`: remove hasattr
dangusev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,9 @@ | ||
| """Stream Edge Transport Package. | ||
| """Edge Transport Package. | ||
|
|
||
| This package provides edge transport abstraction for Stream Agents. | ||
| This package provides edge transport abstraction for vision agents. | ||
| """ | ||
|
|
||
| from vision_agents.core.edge.call import Call | ||
| from vision_agents.core.edge.edge_transport import EdgeTransport | ||
| from vision_agents.core.edge import sfu_events | ||
|
|
||
| __all__ = ["EdgeTransport", "sfu_events"] | ||
| __all__ = ["Call", "EdgeTransport"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| from typing import Protocol | ||
|
|
||
|
|
||
| class Call(Protocol): | ||
| """Protocol for call/room abstraction. | ||
|
|
||
| Any EdgeTransport implementation must return objects conforming to this protocol | ||
| from their create_call or join methods. | ||
| """ | ||
|
|
||
| @property | ||
| def id(self) -> str: | ||
| """The unique identifier of the call.""" | ||
| ... | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.