from app.audio.endpoints.input.base import AudioInputEndpoint
from app.schemas import AudioChunk, EndpointCapabilities

class BluetoothInput(AudioInputEndpoint):
    endpoint_id = "bt-headset-01"

    async def capabilities(self) -> EndpointCapabilities:
        return EndpointCapabilities(
            id=self.endpoint_id,
            kind="bluetooth",
            direction="input",
            latency_class="medium",
            bluetooth=True,
        )

    async def open(self) -> None:
        return None

    async def read_chunk(self) -> AudioChunk:
        return AudioChunk(data=b"", format="wav", timestamp_ms=0)

    async def close(self) -> None:
        return None
