...
4. WebRTC stream from file is sending to browser for playback
Set up
AWS S3 credentials configuration
To download files from AWS S3 bucket, S3 credentials must be set in flashphoner.properties file
...
Code Block | ||
---|---|---|
| ||
aws_s3_credentials=eu-center-1;AA22BB33CC44DE;DhlAkpZ4adclHhbLwhTNL4hvWTo80Njo |
Capturing VOD stream from file while it is downloading
To capture stream from file while it is downloading, the following parameter should be set
Code Block | ||
---|---|---|
| ||
vod_mp4_container_new=true |
If channel bandwidth between WCS and S3 storage is low, or this channel is not stable enough, file bufferization may be enabled. The buffer size is set in milliseconds with the following parameter
Code Block | ||
---|---|---|
| ||
vod_mp4_container_new_buffer_ms=10000 |
In this case, buffer size is 10 seconds.
File format requirements
Header section (moov) should always be before data section (mdat). File structure should be like this:
...