refactor: rename Audio Room → Nest project-wide
Aligns class names, package paths, string resource keys, UI text and intent actions with the Nests branding used by the EGG specs in nestsClient/specs/. Mechanical rename — no behavior change. - Folders: audiorooms/ → nests/ (5 paths across amethyst, quartz) - 30+ class renames (AudioRoom* → Nest*, AudioRooms* → Nests*) - String resource keys audio_room_* → nest_* - UI strings "Audio Room"/"Audio Rooms" → "Nest"/"Nests" (incl. all locales) - Intent extras AUDIO_ROOM_* → NEST_* - Compose route Route.AudioRooms → Route.Nests Spec-aligned identifiers (MeetingSpaceEvent, meetingSpaces/, the nip53* packages) are intentionally untouched — those are NIP-53 protocol names, not "audio room" branding. https://claude.ai/code/session_01RDpuki4t8StSg1CZcXnV5b
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
package com.vitorpamplona.nestsclient
|
||||
|
||||
import com.vitorpamplona.nestsclient.audio.AudioCapture
|
||||
import com.vitorpamplona.nestsclient.audio.AudioRoomBroadcaster
|
||||
import com.vitorpamplona.nestsclient.audio.NestBroadcaster
|
||||
import com.vitorpamplona.nestsclient.audio.OpusEncoder
|
||||
import com.vitorpamplona.nestsclient.moq.MoqProtocolException
|
||||
import com.vitorpamplona.nestsclient.moq.MoqSession
|
||||
@@ -133,7 +133,7 @@ sealed class NestsSpeakerState {
|
||||
* unit-test suite (`NestsSpeakerTest`) and for any future IETF
|
||||
* MoQ-transport target.
|
||||
*
|
||||
* Wraps a connected [MoqSession] and plumbs an [AudioRoomBroadcaster]
|
||||
* Wraps a connected [MoqSession] and plumbs an [NestBroadcaster]
|
||||
* through it on [startBroadcasting]. Construction does NOT open the
|
||||
* transport.
|
||||
*/
|
||||
@@ -168,7 +168,7 @@ class DefaultNestsSpeaker internal constructor(
|
||||
throw t
|
||||
}
|
||||
val broadcaster =
|
||||
AudioRoomBroadcaster(
|
||||
NestBroadcaster(
|
||||
capture = captureFactory(),
|
||||
encoder = encoderFactory(),
|
||||
publisher = publisher,
|
||||
@@ -236,7 +236,7 @@ class DefaultNestsSpeaker internal constructor(
|
||||
}
|
||||
|
||||
internal class DefaultBroadcastHandle(
|
||||
private val broadcaster: AudioRoomBroadcaster,
|
||||
private val broadcaster: NestBroadcaster,
|
||||
private val announce: MoqSession.AnnounceHandle,
|
||||
private val parent: DefaultNestsSpeaker,
|
||||
) : BroadcastHandle {
|
||||
|
||||
Reference in New Issue
Block a user