Skip to main content
Daily.createCallObject({ properties }) Creates a headless DailyCall instance. Daily manages WebRTC and media internally but renders no UI — use this when building a fully custom call interface with direct access to MediaStreamTrack objects and other WebRTC primitives.

Parameters

properties
DailyCallOptions
Optional configuration. If url is not set here, it must be provided when calling join() or load(). See DailyCallOptions for the full list of options.

Return value

Returns a new DailyCall instance.

Example

const call = Daily.createCallObject({
  url: 'https://your-domain.daily.co/room-name',
  subscribeToTracksAutomatically: false,
});

await call.join();

See also