Skip to content

fix the RPC tests#95

Merged
xianshijing-lk merged 1 commit intomainfrom
sxian/fix_rpc_tests
Apr 14, 2026
Merged

fix the RPC tests#95
xianshijing-lk merged 1 commit intomainfrom
sxian/fix_rpc_tests

Conversation

@xianshijing-lk
Copy link
Copy Markdown
Collaborator

Problem:
When a local track is created, its sid() returns "TR_unknown"

  • The real track SID is assigned by the server during publishing and stored in the publication, not the track itself
  • The test uses track->sid() which returns "TR_unknown", causing "track not found" error

The Fix:
The test should use track->publication()->sid() instead of track->sid() when unpublishing, like the other working code does

@xianshijing-lk xianshijing-lk merged commit 8629971 into main Apr 14, 2026
14 checks passed
@xianshijing-lk xianshijing-lk deleted the sxian/fix_rpc_tests branch April 14, 2026 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants