Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
2842aac
Added Azure Pipeline
Sumasree8 Jun 2, 2026
7a3f251
Added azure-pipeline-files.yml
Jun 3, 2026
af0b52d
Updated azure-pipeline-files.yml
leelasaikrishna2004 Jun 17, 2026
fd2cf88
Deleted azure-pipelines.yml
leelasaikrishna2004 Jun 17, 2026
3e33e1c
Updated azure-pipeline-files.yml
leelasaikrishna2004 Jun 17, 2026
e26827b
Updated azure-pipeline-files.yml
leelasaikrishna2004 Jun 17, 2026
5243360
Updated azure-pipeline-files.yml
leelasaikrishna2004 Jun 17, 2026
8a19620
Updated azure-pipeline-files.yml
leelasaikrishna2004 Jun 17, 2026
11ac5c4
Updated azure-pipeline-files.yml
leelasaikrishna2004 Jun 17, 2026
e6fc77e
changes sonar-fixes
Sumasree8 Jun 18, 2026
740009d
Updated azure-pipelines-files.yml
Sumasree8 Jun 18, 2026
fc18828
update azure-pipeline-files.yml
Sumasree8 Jun 18, 2026
246a6e7
check sonar-issues
Sumasree8 Jun 18, 2026
c369aa3
updated azure-pipeline
Sumasree8 Jun 18, 2026
6a495f5
changes sonar-fixes
Sumasree8 Jun 18, 2026
b10dc0a
changes sonar-fixes
Sumasree8 Jun 19, 2026
133ca4a
changes sonar-fixes
Sumasree8 Jun 19, 2026
bed48f6
changes sonar-fixes
Sumasree8 Jun 19, 2026
9db7f47
changes sonar-fixes
Sumasree8 Jun 19, 2026
efce3f2
updated CHANGELOG.md
Sumasree8 Jun 19, 2026
7a1583b
harden release config and add test verification
Sumasree8 Jun 20, 2026
ea5baeb
Added tests/examples to .gitignore
Sumasree8 Jun 23, 2026
6e9d8d5
feat!: update media, track and MP4 support models to latest API
Sumasree8 Aug 3, 2026
8331750
Update CHANGELOG.md
Sumasree8 Aug 3, 2026
c30750c
Remove Hardcoded values
Sumasree8 Aug 3, 2026
a5fec8a
Remove azure-pipeline-files.yml
Sumasree8 Aug 3, 2026
9c2eda2
Update maven-central-publish.yml
Sumasree8 Aug 3, 2026
e3d1b5c
Merge remote-tracking branch 'origin/main' into feature/fix-mp4Support
Sumasree8 Aug 3, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Thank you for taking the time to report a bug with the FastPix Java SDK. To help
- **IDE:** [e.g., IntelliJ IDEA, Eclipse, VS Code, etc.] (Optional but helpful)

### SDK Information
- **FastPix Java SDK Version:** [e.g., 1.0.3, 1.0.2, etc.]
- **FastPix Java SDK Version:** [e.g., 1.0.4, 1.0.3, etc.]
- **Java Runtime:** [e.g., OpenJDK, Oracle JDK, etc.]

## Reproduction Steps
Expand All @@ -36,12 +36,12 @@ Thank you for taking the time to report a bug with the FastPix Java SDK. To help
<dependency>
<groupId>com.fastpix</groupId>
<artifactId>fastpix-java</artifactId>
<version>1.0.2</version>
<version>1.0.4</version>
</dependency>
```
```gradle
// Gradle
implementation 'com.fastpix:fastpix-java:1.0.2'
implementation 'com.fastpix:fastpix-java:1.0.4'
```

2. **Code to Reproduce:**
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/question_support.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public class Example {
### Environment
- **Java Version:** [e.g., Java 11, Java 17, Java 21]
- **Operating System:** [e.g., Windows 10, macOS 12.0, Ubuntu 20.04, etc.]
- **FastPix Java SDK Version:** [e.g., 1.0.3, 1.0.2]
- **FastPix Java SDK Version:** [e.g., 1.0.4, 1.0.3]
- **Build Tool:** [e.g., Maven, Gradle]
- **IDE:** [e.g., IntelliJ IDEA, Eclipse, VS Code, etc.]

Expand Down
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
build/
!build/docs/
.gradle/

# Eclipse/IDE build output
bin/
*.jar
!gradle-wrapper.jar
*.class
Expand Down Expand Up @@ -38,6 +41,14 @@ tests/artifacts*/
tests/*_REPORT.md
tests/*_FIX_SUGGESTIONS.md

# Local example runners — contain real credentials, never commit
tests/examples/

# Local example helper script + its machine-specific classpath cache
/run-example.sh
/.example-classpath

# Local working files (not part of the published SDK)
/fixed 7.yaml
/CLAUDE.md
/fastpix-openai.yaml
70 changes: 70 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,76 @@ All notable changes to this project will be documented in this file.

---

## [1.0.4]

### ⚠️ Breaking changes

This release regenerates the SDK models against the latest FastPix API
specification. The following changes are **source-incompatible** — code
written against `1.0.3` may need edits before it compiles:

| Change | Action required |
|---|---|
| `mp4Support` is now a list of rendition objects instead of a single enum value | Read the renditions you need from the list (see below) |
| `GetMediaResponse` and its nested types renamed to `GetMediaDetailResponse*` | Update imports and any explicit type declarations |
| `UpdateTrackRequest.url` removed | Remove `.url(...)` builder calls; a track's file can no longer be changed after creation |
| `UpdateMediaMaxResolution` no longer accepts `360p` | Use `480p` or higher when updating a media's max resolution |
| `VideoTrack.width()` / `.height()` return `Optional<Long>` instead of `Optional<Double>` | Change the receiving variable's type |

### Changed

- **SDK version bump: `1.0.3` → `1.0.4`.** The `version` property, the
`SDK_VERSION` runtime constant, and the installation documentation now
report `1.0.4`.

- **`mp4Support` now describes individual MP4 renditions.** Previously a single
enum value, it is now a list of objects — each with a `type`
(`capped_4k` or `audioOnly`), a generation `status`, the rendition's `height`
and `width` in pixels, and its file `ext`. Height and width are omitted for
the `audioOnly` type. Corresponding `Mp4SupportType`, `Mp4SupportStatus`, and
`Mp4SupportExt` enums are generated for each model that carries the field:
`Media`, `UpdateMedia`, `LiveMediaClips`, `SourceAccessMedia`,
`GetAllMediaResponse`, and `GetMediaDetailResponse`.

- **`GetMediaResponse` renamed to `GetMediaDetailResponse`**, along with its
nested `MaxResolution`, `MediaQuality`, `SourceResolution`, `Status`,
`Track`, and `Mp4Support*` types. `GetMediaResponseBody.data()` now returns
`Optional<GetMediaDetailResponse>`. The operation name and the wire format
are unchanged; this is a type-name change only.

- **`UpdateTrackRequest` replaces `url` with `title`.** A track's underlying
file can no longer be changed after creation — only its language and title.

- **`VideoTrack` `width` and `height` are now `Long`** rather than `Double`,
matching the integer pixel dimensions the API returns.

### Added

- `360p` and `360` added to the `sourceResolution` enums across all media
models, so media ingested at 360p is now reported accurately instead of
falling through to the unrecognised-value path.
- `title` added to the audio, video, and subtitle track models
(`AudioTrack`, `VideoTrack`, `VideoTrackForGetAll`, `SubtitleTrack`,
`TrackSubtitlesGenerateRequest`, `AddTrackRequest`/`Response`,
`UpdateTrackRequest`/`Response`, `GenerateTrackResponse`).

### Removed

- `360p` removed from `UpdateMediaMaxResolution`; the API no longer accepts it
as a max resolution on update.

### Docs

- FastPix documentation links updated to their current paths throughout the
javadoc and `docs/`: `video-on-demand-api/` → `video-on-demand/`,
`edit-and-transform-live-stream/` → `live-streaming/`,
`edit-and-transform-videos/` → `video-on-demand/`, and `vod-events/` →
`webhooks/`.
- Regenerated `docs/` model and SDK reference pages and the README usage
snippets to match the updated models.

---

## [1.0.3]

### Changed
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Add the dependency to your `build.gradle`:

```groovy
dependencies {
implementation 'io.fastpix:sdk:1.0.3'
implementation 'io.fastpix:sdk:1.0.4'
}
```

Expand All @@ -76,7 +76,7 @@ Add the dependency to your `pom.xml`:
<dependency>
<groupId>io.fastpix</groupId>
<artifactId>sdk</artifactId>
<version>1.0.3</version>
<version>1.0.4</version>
</dependency>
```

Expand Down Expand Up @@ -300,7 +300,7 @@ Comprehensive Java SDK for FastPix platform integration with full API coverage.

Upload, manage, and transform video content with comprehensive media management capabilities.

For detailed documentation, see [FastPix Video on Demand Overview](https://fastpix.com/docs/video-on-demand-api/overview).
For detailed documentation, see [FastPix Video on Demand Overview](https://fastpix.com/docs/video-on-demand/overview).

#### Input Video
- [Create from URL](docs/sdks/inputvideos/README.md#create) - Upload video content from external URL
Expand Down
3 changes: 2 additions & 1 deletion docs/models/components/AddTrackRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ Contains details about the track being added to the media file.
| `url` | *Optional\<String>* | :heavy_minus_sign: | The direct URL of the track file. It must point to a valid audio or subtitle file. | https://static.fastpix.com/music-1.mp3 |
| `type` | [Optional\<AddTrackRequestType>](../../models/components/AddTrackRequestType.md) | :heavy_minus_sign: | Specifies the type of track being added. It can be either `audio` or `subtitle`. | audio |
| `languageCode` | *Optional\<String>* | :heavy_minus_sign: | The BCP 47 language code representing the track’s language. | it |
| `languageName` | *Optional\<String>* | :heavy_minus_sign: | The full name of the language corresponding to the `languageCode`. | Italian |
| `languageName` | *Optional\<String>* | :heavy_minus_sign: | The full name of the language corresponding to the `languageCode`. | Italian |
| `title` | *Optional\<String>* | :heavy_minus_sign: | Title of the track. | Italian audio |
5 changes: 3 additions & 2 deletions docs/models/components/AddTrackResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ Contains details about the track that was added or updated.

| Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
| `id` | *Optional\<String>* | :heavy_minus_sign: | The unique identifier of the track. | ace60fc7-e876-4fc6-b9d9-c33fa242f84b |
| `id` | *Optional\<String>* | :heavy_minus_sign: | The unique identifier of the track. | your-track-id |
| `type` | [Optional\<AddTrackResponseType>](../../models/components/AddTrackResponseType.md) | :heavy_minus_sign: | Specifies the type of track (audio or subtitle). | audio |
| `url` | *Optional\<String>* | :heavy_minus_sign: | The direct URL of the track file. | https://static.fastpix.com/music-1.mp3 |
| `languageCode` | *Optional\<String>* | :heavy_minus_sign: | The BCP 47 language code representing the track's language. | it |
| `languageName` | *Optional\<String>* | :heavy_minus_sign: | The full name of the language corresponding to the `languageCode`. | Italian |
| `languageName` | *Optional\<String>* | :heavy_minus_sign: | The full name of the language corresponding to the `languageCode`. | Italian |
| `title` | *Optional\<String>* | :heavy_minus_sign: | Title of the track. | Italian audio |
Loading