(t *testing.T)
| 28 | ) |
| 29 | |
| 30 | func TestPackStreamId(t *testing.T) { |
| 31 | packed := "PA_123abc|uuid-id" |
| 32 | pID, trackID := UnpackStreamID(packed) |
| 33 | require.Equal(t, livekit.ParticipantID("PA_123abc"), pID) |
| 34 | require.Equal(t, livekit.TrackID("uuid-id"), trackID) |
| 35 | |
| 36 | require.Equal(t, packed, PackStreamID(pID, trackID)) |
| 37 | } |
| 38 | |
| 39 | func TestPackDataTrackLabel(t *testing.T) { |
| 40 | pID := livekit.ParticipantID("PA_123abc") |
nothing calls this directly
no test coverage detected