Remove references to deprecated DefaultDataSourceFactory from dev guide

#minor-release

PiperOrigin-RevId: 436997521
This commit is contained in:
ibaker 2022-03-24 15:13:09 +00:00 committed by Ian Baker
parent 7db0d91dd9
commit c83a28f260
2 changed files with 3 additions and 2 deletions

View File

@ -38,8 +38,9 @@ If your application only needs to play http(s) content, using the Cronet
extension is as simple as updating `DataSource.Factory` instantiations in your extension is as simple as updating `DataSource.Factory` instantiations in your
application code to use `CronetDataSource.Factory`. If your application also application code to use `CronetDataSource.Factory`. If your application also
needs to play non-http(s) content such as local files, use: needs to play non-http(s) content such as local files, use:
``` ```
new DefaultDataSourceFactory( new DefaultDataSource.Factory(
... ...
/* baseDataSourceFactory= */ new CronetDataSource.Factory(...) ); /* baseDataSourceFactory= */ new CronetDataSource.Factory(...) );
``` ```

View File

@ -39,7 +39,7 @@ injected from application code.
`DefaultDataSource` will automatically use the RTMP extension whenever it's `DefaultDataSource` will automatically use the RTMP extension whenever it's
available. Hence if your application is using `DefaultDataSource` or available. Hence if your application is using `DefaultDataSource` or
`DefaultDataSourceFactory`, adding support for RTMP streams is as simple as `DefaultDataSource.Factory`, adding support for RTMP streams is as simple as
adding a dependency to the RTMP extension as described above. No changes to your adding a dependency to the RTMP extension as described above. No changes to your
application code are required. Alternatively, if you know that your application application code are required. Alternatively, if you know that your application
doesn't need to handle any other protocols, you can update any doesn't need to handle any other protocols, you can update any