package com.foxx.androidcast.network.webrtc;

/*********************************************************************
 * WebRtcTransportFactory.java
 * Created at: Sat 16 May 2026 18:50:36 +0200
 * Updated at: Wed 20 May 2026 15:17:13 +0200 by Anton Afanasyeu <a.afanasieff@gmail.com>
 * Commit: 5d8e82d2e60a21fff3138d2a394ee4e8b4c6dcb8
 * class WebRtcTransportFactory
 * Contributors:
 *    - Anton Afanasyeu <a.afanasieff@gmail.com> (2 commits, 26 lines)
 *    - Cursor Agent (project assistant)
 * Digest: SHA256	e493627f2d6a5ebbf641fa5fd3a96d4c4c098dd08a8305a76f132cc2c90f45b4
**********************************************************************/
import com.foxx.androidcast.CastConfig;
import com.foxx.androidcast.network.CastTransport;

/**
 * Factory for WebRTC-backed cast transport (stub today; swap implementation for libwebrtc / pion).
 */
public final class WebRtcTransportFactory {
    private WebRtcTransportFactory() {}

    public static boolean isTransportId(String transport) {
        return CastConfig.TRANSPORT_WEBRTC.equals(transport);
    }

    public static CastTransport create() {
        return WebRtcCastTransport.createStub();
    }
}
