class MediaItemDataRepository implements MediaItemRepository {

    @Override
    public Observable<MediaItem> addLiveStream( final Media media, final int id ) {

        MediaItemDataStore mediaItemDataStore = mediaItemDataStoreFactory.createMasterBackendDataStore();

        return mediaItemDataStore.addLiveStream( media, id )
                .map( MediaItemDataMapper::transform );
    }

    @Inject public  MediaItemDataRepository(
            final MediaItemDataStoreFactory mediaItemDataStoreFactory
    );

}